mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
buf: Deprecate static/immutable buffers
This commit is contained in:
1
parser.c
1
parser.c
@@ -14377,7 +14377,6 @@ xmlCreateMemoryParserCtxt(const char *buffer, int size) {
|
||||
if (ctxt == NULL)
|
||||
return(NULL);
|
||||
|
||||
/* TODO: xmlParserInputBufferCreateStatic, requires some serious changes */
|
||||
buf = xmlParserInputBufferCreateMem(buffer, size, XML_CHAR_ENCODING_NONE);
|
||||
if (buf == NULL) {
|
||||
xmlFreeParserCtxt(ctxt);
|
||||
|
||||
Reference in New Issue
Block a user