qulogic/libgnt

b5667f5158be
Parents c58578ec3710
Children 2b9ac7a0a745
xmlCleanupParser() should not be called like it was being
http://0pointer.de/blog/projects/beware-of-xmlCleanupParser.html
http://git.gnome.org/browse/libxml2/tree/parser.c#n14002

I just removed calls to it, as I suspect it probably shouldn't
be called from a library like libgnt anyway.
  • +0 -2
    gntutils.c
  • --- a/gntutils.c Fri Jan 08 20:11:49 2010 +0000
    +++ b/gntutils.c Wed Jan 13 14:00:29 2010 +0000
    @@ -373,7 +373,6 @@
    xmlFreeDoc(doc);
    xmlFreeParserCtxt(ctxt);
    - xmlCleanupParser();
    va_end(list);
    g_free(data);
    #endif
    @@ -470,7 +469,6 @@
    ret = TRUE;
    }
    xmlFreeParserCtxt(ctxt);
    - xmlCleanupParser();
    return ret;
    #endif
    }