commit | d72c7e339c9c1be80cf194f23152545aff8f2a05 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Mon May 12 21:55:03 2003 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Mon May 12 21:55:03 2003 +0000 |
tree | 721bd734c1cfa9dbb17e40f39f757d6739c61a91 | |
parent | 75bb3bbf25e5ddaf5e013978c3b001de02c959aa [diff] [blame] |
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
diff --git a/tree.c b/tree.c index 8da828a..ff53a3e 100644 --- a/tree.c +++ b/tree.c
@@ -904,7 +904,7 @@ */ 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); }