mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-26 12:25:09 +03:00
xinclude: Set errNo in xmlXIncludeErrMemory
This commit is contained in:
parent
6a49bb777c
commit
3bdd0d7b30
@ -132,6 +132,9 @@ xmlXIncludeDoProcess(xmlXIncludeCtxtPtr ctxt, xmlNodePtr tree);
|
||||
static void
|
||||
xmlXIncludeErrMemory(xmlXIncludeCtxtPtr ctxt)
|
||||
{
|
||||
ctxt->errNo = XML_ERR_NO_MEMORY;
|
||||
ctxt->fatalErr = 1;
|
||||
|
||||
xmlRaiseMemoryError(ctxt->errorHandler, NULL, ctxt->errorCtxt,
|
||||
XML_FROM_XINCLUDE, NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user