summaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2012-05-11 12:38:23 +0800
committerDaniel Veillard <veillard@redhat.com>2012-05-11 12:38:23 +0800
commit39d027cdb74371d64f68dc488556be41e1d14546 (patch)
treee55a90b4e11edc8dda0174ed1481987f72ce3e41 /tree.c
parent2c437da7f09528002c4ae5ab57b7620ed43733f4 (diff)
downloadlibxml2-39d027cdb74371d64f68dc488556be41e1d14546.tar.gz
Fix html serialization error and htmlSetMetaEncoding()
For https://bugzilla.gnome.org/show_bug.cgi?id=630682 The python tests were reporting errors, some of it was due to a small change in case encoding, but the main one was about htmlSetMetaEncoding(doc, NULL) being broken by not removing the associated meta tag anymore
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tree.c b/tree.c
index a2fdcbf5..71fbd1d9 100644
--- a/tree.c
+++ b/tree.c
@@ -3732,8 +3732,8 @@ xmlFreeNode(xmlNodePtr cur) {
* @cur: the node
*
* Unlink a node from it's current context, the node is not freed
- * If one need to free the node, use xmlNodeFree() routine after the
- * unlink.
+ * If one need to free the node, use xmlFreeNode() routine after the
+ * unlink to discard it.
*/
void
xmlUnlinkNode(xmlNodePtr cur) {