From: erickson Date: Tue, 29 Aug 2006 19:02:48 +0000 (+0000) Subject: put free calls back in to free the xml from messages X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=30e1a70929fc61ef7b26e168ef3f6b3dc3079547;p=working%2FOpenSRF.git put free calls back in to free the xml from messages git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@770 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/libtransport/transport_message.c b/src/libtransport/transport_message.c index 2cc33a2..a6e7514 100644 --- a/src/libtransport/transport_message.c +++ b/src/libtransport/transport_message.c @@ -308,6 +308,8 @@ char* message_to_xml( const transport_message* msg ) { xmlNodeDump( xmlbuf, doc, xmlDocGetRootElement(doc), 0, 0); char* xml = strdup((char*) (xmlBufferContent(xmlbuf))); xmlBufferFree(xmlbuf); + xmlFreeDoc( doc ); + xmlCleanupParser(); return xml; }