summaryrefslogtreecommitdiffstats
path: root/lasso
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-11-04 01:58:40 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-11-04 01:58:40 +0000
commit4e28ae10255bf8d33b20e321d541ba56f0a43594 (patch)
tree07328056830356a85e93f72824a297c49b464598 /lasso
parent12afeac7164b9af7273d5e26d749b2084bc41e91 (diff)
downloadlasso-4e28ae10255bf8d33b20e321d541ba56f0a43594.tar.gz
lasso-4e28ae10255bf8d33b20e321d541ba56f0a43594.tar.xz
lasso-4e28ae10255bf8d33b20e321d541ba56f0a43594.zip
Fix lasso_assign_node: wrong xmlFreeNodeList
* lasso/utils.h: - (lasso_assign_node) This macro wrongly assumes that the destroy function for xmlNode is xmlFreeNodeList but it's xmlFreeNode. xmlFreeNodeList is for xmlNode list of children.
Diffstat (limited to 'lasso')
-rw-r--r--lasso/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/utils.h b/lasso/utils.h
index 213cd5c5..f6aac50b 100644
--- a/lasso/utils.h
+++ b/lasso/utils.h
@@ -58,7 +58,7 @@
#define lasso_assign_node(dest,src) \
{ \
if (dest) \
- xmlFreeNodeList(dest); \
+ xmlFreeNode(dest); \
dest = xmlCopyNode(src, 1); \
}