From 0d66367f2892a9f1e18fde1e6984bef65c5bd732 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 4 Nov 2008 01:58:49 +0000 Subject: Remove use of xmlFreeDoc for lasso_release_doc - bindings/java/wrapper_top.c, bindings/php4/lasso_php4_helper.c, bindings/php5/wrapper_source_top.c, bindings/python/wrapper_top.c, lasso/id-ff/identity.c, lasso/id-ff/lecp.c, lasso/id-ff/login.c, lasso/id-ff/logout.c, lasso/id-ff/name_registration.c, lasso/id-ff/profile.c, lasso/id-ff/provider.c, lasso/id-ff/server.c, lasso/id-ff/session.c, lasso/id-wsf-2.0/data_service.c, lasso/id-wsf/data_service.c, lasso/id-wsf/discovery.c, lasso/id-wsf/wsf_profile.c, lasso/saml-2.0/ecp.c, lasso/saml-2.0/login.c, lasso/saml-2.0/name_id_management.c, lasso/utils.h, lasso/xml/tools.c, lasso/xml/xml.c, swig/Lasso.i: Remove use of xmlFreeDoc. Use lasso_release_doc instead. --- bindings/php5/wrapper_source_top.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bindings/php5') 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 #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; } -- cgit