1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

memory: Deprecate xmlGcMemSetup

This commit is contained in:
Nick Wellnhofer
2024-07-16 00:35:53 +02:00
parent ff39f28bd7
commit 5d36664fc9
16 changed files with 47 additions and 41 deletions

View File

@@ -8644,7 +8644,7 @@ xmlXPathParseNameComplex(xmlXPathParserContextPtr ctxt, int qualified) {
if (len > XML_MAX_NAME_LENGTH) {
XP_ERRORNULL(XPATH_EXPR_ERROR);
}
buffer = (xmlChar *) xmlMallocAtomic(max);
buffer = xmlMalloc(max);
if (buffer == NULL) {
xmlXPathPErrMemory(ctxt);
return(NULL);