mirror of
https://github.com/darlinghq/darling-libxml2.git
synced 2025-01-08 21:10:24 +00:00
fixed a serious problem in XInclude #129021 Daniel
* xinclude.c: fixed a serious problem in XInclude #129021 Daniel
This commit is contained in:
parent
87ab1c1298
commit
2d2f155224
@ -1,3 +1,7 @@
|
||||
Mon Dec 22 00:34:09 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xinclude.c: fixed a serious problem in XInclude #129021
|
||||
|
||||
Sun Dec 21 13:59:54 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* parser.c: fixed bug #129489, propagation of parsing flags
|
||||
|
@ -455,7 +455,7 @@ xmlXIncludeParseFile(xmlXIncludeCtxtPtr ctxt, const char *URL) {
|
||||
xmlFreeDoc(pctxt->myDoc);
|
||||
pctxt->myDoc = NULL;
|
||||
}
|
||||
if ((pctxt->myDoc != NULL) && (pctxt->dict == pctxt->myDoc->dict))
|
||||
if ((ctxt->doc != NULL) && (pctxt->dict == ctxt->doc->dict))
|
||||
xmlDictReference(pctxt->dict);
|
||||
xmlFreeParserCtxt(pctxt);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user