mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
more memory related code cleanups. Daniel
* HTMLparser.c parser.c relaxng.c xmlschemas.c: more memory related code cleanups. Daniel
This commit is contained in:
@ -13103,6 +13103,7 @@ xmlSchemaRegisterAttributes(xmlSchemaValidCtxtPtr ctxt, xmlAttrPtr attrs)
|
||||
xmlSchemaVErrMemory(ctxt, "registering attributes", NULL);
|
||||
return (-1);
|
||||
}
|
||||
memset(tmp, 0, sizeof(xmlSchemaAttrState));
|
||||
tmp->attr = attrs;
|
||||
tmp->state = XML_SCHEMAS_ATTR_UNKNOWN;
|
||||
tmp->next = NULL;
|
||||
|
Reference in New Issue
Block a user