1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00

fixed a possible problem with xmlRecoverMemory() Daniel

* parser.c: fixed a possible problem with xmlRecoverMemory()
Daniel
This commit is contained in:
Daniel Veillard 2003-04-04 16:09:01 +00:00
parent a48ed3d6de
commit adba5f1b0a
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Fri Apr 4 18:08:00 CEST 2003 Daniel Veillard <daniel@veillard.com>
* parser.c: fixed a possible problem with xmlRecoverMemory()
Thu Apr 3 17:24:44 CEST 2003 Daniel Veillard <daniel@veillard.com>
* trio.c trio.h triodef.h trionan.c trionan.h triop.h triostr.c

View File

@ -10735,6 +10735,8 @@ xmlSAXParseMemoryWithData(xmlSAXHandlerPtr sax, const char *buffer,
ctxt->_private=data;
}
ctxt->recovery = recovery;
xmlParseDocument(ctxt);
if ((ctxt->wellFormed) || recovery) ret = ctxt->myDoc;