qulogic/libgnt

Free up the parsers.

2009-10-07, Sadrul Habib Chowdhury
5bf8e98a5fa8
Parents db387fd21d1d
Children 29bd05cd516a
Free up the parsers.
  • +2 -0
    gntutils.c
  • --- a/gntutils.c Wed Oct 07 21:17:10 2009 +0000
    +++ b/gntutils.c Wed Oct 07 21:29:18 2009 +0000
    @@ -374,6 +374,7 @@
    gnt_widget_from_xmlnode(node, data, num);
    xmlFreeDoc(doc);
    + xmlFreeParserCtxt(ctxt);
    xmlCleanupParser();
    va_end(list);
    g_free(data);
    @@ -470,6 +471,7 @@
    xmlFreeDoc(doc);
    ret = TRUE;
    }
    + xmlFreeParserCtxt(ctxt);
    xmlCleanupParser();
    return ret;
    #endif