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