Free external entity parser in external_entity_suspender()
Removes some memory leaks detected by AddressSanitizer in the test suite (see Issue #23)
This commit is contained in:
parent
448cd2acac
commit
8cdcb7219d
@ -1938,6 +1938,7 @@ external_entity_suspender(XML_Parser parser,
|
||||
xml_failure(ext_parser);
|
||||
return XML_STATUS_ERROR;
|
||||
}
|
||||
XML_ParserFree(ext_parser);
|
||||
return XML_STATUS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user