Validate parser parameter to XML_FreeContentModel
This commit is contained in:
parent
11ec6aefd1
commit
cbfaa23428
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user