mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-19 14:50:07 +03:00
schematron: Use xmlMalloc
This commit is contained in:
parent
a87944e970
commit
ff39f28bd7
@ -1048,7 +1048,7 @@ xmlSchematronParseRule(xmlSchematronParserCtxtPtr ctxt,
|
||||
return;
|
||||
}
|
||||
|
||||
let = (xmlSchematronLetPtr) malloc(sizeof(xmlSchematronLet));
|
||||
let = (xmlSchematronLetPtr) xmlMalloc(sizeof(xmlSchematronLet));
|
||||
let->name = name;
|
||||
let->comp = var_comp;
|
||||
let->next = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user