Commit 2d2f1552 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

fixed a serious problem in XInclude #129021 Daniel

* xinclude.c: fixed a serious problem in XInclude #129021
Daniel
parent 87ab1c12
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment