summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Laniel <dlaniel@entrouvert.com>2007-10-10 16:05:32 +0000
committerDamien Laniel <dlaniel@entrouvert.com>2007-10-10 16:05:32 +0000
commit2f97745d6fe22a985fb1d010085b73f7882cb49c (patch)
tree0019ed8a089292dd4b17ec00441227d6dc5eb7fc
parentd0738a911f5377ba9ee757ce2d2da12e5a21bd39 (diff)
downloadlasso-2f97745d6fe22a985fb1d010085b73f7882cb49c.tar.gz
lasso-2f97745d6fe22a985fb1d010085b73f7882cb49c.tar.xz
lasso-2f97745d6fe22a985fb1d010085b73f7882cb49c.zip
fixed a memory error
-rw-r--r--swig/Lasso.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/swig/Lasso.i b/swig/Lasso.i
index 63ce0b03..dc605b9f 100644
--- a/swig/Lasso.i
+++ b/swig/Lasso.i
@@ -1472,7 +1472,7 @@ static char* get_xml_string(xmlNode *xmlnode)
}
xmlOutputBufferClose(buf);
}
- xmlFreeNode(xmlnode);
+
return xmlString;
}