Fixed a few function calls

This commit is contained in:
Zane U. Ji 2012-08-12 11:17:00 +08:00
parent 90dcc75929
commit 4fd931159a
1 changed files with 2 additions and 2 deletions

View File

@ -376,7 +376,7 @@ bool WrapLibxml::xslt (
if ( buf ) if ( buf )
{ {
output.append ( ( char * ) buf, size ); output.append ( ( char * ) buf, size );
free ( buf ); // as above? xmlFree ( buf );
} }
xsltFreeStylesheet ( cur ); xsltFreeStylesheet ( cur );
@ -556,6 +556,6 @@ std::string WrapLibxml::lookupPublicId ( const std::string& id )
ret = s; ret = s;
free ( original ); xmlFree ( original );
return ret; return ret;
} }