diff options
Diffstat (limited to 'bindings/php5')
-rw-r--r-- | bindings/php5/wrapper_source_top.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bindings/php5/wrapper_source_top.c b/bindings/php5/wrapper_source_top.c index c8d9eee1..8969408b 100644 --- a/bindings/php5/wrapper_source_top.c +++ b/bindings/php5/wrapper_source_top.c @@ -7,6 +7,7 @@ #include <lasso/lasso.h> #include "php_lasso.h" #include "../ghashtable.h" +#include "../../lasso/utils.h" /* utility functions */ static void free_glist(GList **list, GFunc free_function); @@ -133,7 +134,7 @@ get_xml_node_from_string(char *string) if (node != NULL) { node = xmlCopyNode(node, 1); } - xmlFreeDoc(doc); + lasso_release_doc(doc); return node; } |