Commit a6a57867 authored by kirin wang's avatar kirin wang Committed by Nick Wellnhofer

Fix memory leak in xmlXIncludeLoadTxt

parent e3f1c7f7
......@@ -1923,6 +1923,7 @@ xinclude_multibyte_fallback:
xmlXIncludeErr(ctxt, ctxt->incTab[nr]->ref,
XML_XINCLUDE_INVALID_CHAR,
"%s contains invalid char\n", URL);
xmlFreeParserCtxt(pctxt);
xmlFreeParserInputBuffer(buf);
xmlFree(URL);
return(-1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment