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