Mercurial > pidgin.yaz
changeset 28705:8981df90b64c
Free up the parsers.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 07 Oct 2009 21:29:18 +0000 |
parents | 650ab9eb4b21 |
children | 24702a4affaa |
files | finch/libgnt/gntutils.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/libgnt/gntutils.c Wed Oct 07 21:17:10 2009 +0000 +++ b/finch/libgnt/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