Commit d72c7e33 authored by Daniel Veillard's avatar Daniel Veillard

PI nodes in external subset were not freed :-\ fixes bug #112842 Daniel

* tree.c: PI nodes in external subset were not freed :-\
  fixes bug #112842
Daniel
parent 75bb3bbf
Mon May 12 17:53:30 EDT 2003 Daniel Veillard <daniel@veillard.com>
* tree.c: PI nodes in external subset were not freed :-\
fixes bug #112842
Mon May 12 11:23:27 EDT 2003 Daniel Veillard <daniel@veillard.com>
* xmllint.c: added --schema option to run WXS schema validation
......
......@@ -904,7 +904,7 @@ xmlFreeDtd(xmlDtdPtr cur) {
*/
while (c != NULL) {
next = c->next;
if (c->type == XML_COMMENT_NODE) {
if ((c->type == XML_COMMENT_NODE) || (c->type == XML_PI_NODE)) {
xmlUnlinkNode(c);
xmlFreeNode(c);
}
......
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