Commit f824a4bd authored by Nick Wellnhofer's avatar Nick Wellnhofer

Fix memory leak in xmlAllocOutputBufferInternal error path

Thanks to Anish K Kurian for the report. Closes #60.
parent e79a903f
......@@ -2435,6 +2435,7 @@ xmlAllocOutputBufferInternal(xmlCharEncodingHandlerPtr encoder) {
if (encoder != NULL) {
ret->conv = xmlBufCreateSize(4000);
if (ret->conv == NULL) {
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