From 83a41af3311ec494205205ec093ffff0aad56fd0 Mon Sep 17 00:00:00 2001 From: "sgunderson@bigfoot.com" <> Date: Wed, 21 Sep 2011 23:46:11 +0200 Subject: [PATCH] Fix a potential bug in the C++0x cleaning. --- c++0x/xml-template.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/c++0x/xml-template.cpp b/c++0x/xml-template.cpp index f28b3dc..c2b62cd 100644 --- a/c++0x/xml-template.cpp +++ b/c++0x/xml-template.cpp @@ -16,6 +16,7 @@ void clean_node(xmlNode *node) xmlNode *frag = xmlNewDocFragment(node->doc); xmlReplaceNode(node, frag); frag->children = node->children; + frag->last = node->last; } } -- 2.39.2