Add extended information to IsoNode. Still not exposed nor compiled.

This commit is contained in:
Vreixo Formoso
2008-01-13 17:59:53 +01:00
parent a1bcc73198
commit a58bc8a25a
2 changed files with 60 additions and 0 deletions

View File

@ -59,6 +59,14 @@ void iso_node_unref(IsoNode *node)
/* TODO #00002 handle deletion of each kind of node */
break;
}
#ifdef LIBISO_EXTENDED_INFORMATION
if (node->xinfo) {
/* free extended info */
node->xinfo->process(node->xinfo->data, 1);
free(node->xinfo);
}
#endif
free(node->name);
free(node);
}