From 4fd931159a9e7fb31d22d553a926fcb4e94a68e9 Mon Sep 17 00:00:00 2001 From: "Zane U. Ji" Date: Sun, 12 Aug 2012 11:17:00 +0800 Subject: [PATCH] Fixed a few function calls --- src/wraplibxml.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wraplibxml.cpp b/src/wraplibxml.cpp index 0694345..45acff7 100755 --- a/src/wraplibxml.cpp +++ b/src/wraplibxml.cpp @@ -376,7 +376,7 @@ bool WrapLibxml::xslt ( if ( buf ) { output.append ( ( char * ) buf, size ); - free ( buf ); // as above? + xmlFree ( buf ); } xsltFreeStylesheet ( cur ); @@ -556,6 +556,6 @@ std::string WrapLibxml::lookupPublicId ( const std::string& id ) ret = s; - free ( original ); + xmlFree ( original ); return ret; }