Validate parser parameter to XML_FreeContentModel

This commit is contained in:
Rhodri James 2017-04-25 18:43:18 +01:00 committed by Sebastian Pipping
parent 11ec6aefd1
commit cbfaa23428

View File

@ -2083,7 +2083,8 @@ XML_GetCurrentColumnNumber(XML_Parser parser)
void XMLCALL
XML_FreeContentModel(XML_Parser parser, XML_Content *model)
{
FREE(model);
if (parser != NULL)
FREE(model);
}
void * XMLCALL