using the wrong free function
This commit is contained in:
parent
4a14e50ae7
commit
cd4377366c
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ gboolean parse_load_mem(gpointer data, guint len, const char *rootname,
|
||||||
|
|
||||||
void parse_close(xmlDocPtr doc)
|
void parse_close(xmlDocPtr doc)
|
||||||
{
|
{
|
||||||
xmlFree(doc);
|
xmlFreeDoc(doc);
|
||||||
}
|
}
|
||||||
|
|
||||||
void parse_tree(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node)
|
void parse_tree(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node)
|
||||||
|
|
Loading…
Reference in a new issue