Free external entity parser in external_entity_resetter() when done
Deals with some of the memory leaks found by AddressSanitizer in
the test suite (Issue
@@ -1882,6 +1882,7 @@ external_entity_resetter(XML_Parser parser,
fail("Parsing status not still FINISHED");
return XML_STATUS_ERROR;
}
+ XML_ParserFree(ext_parser);
return XML_STATUS_OK;
}
