summaryrefslogtreecommitdiffstats
path: root/bindings/php4
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-11-04 01:58:49 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-11-04 01:58:49 +0000
commit0d66367f2892a9f1e18fde1e6984bef65c5bd732 (patch)
tree7fa6f8533cb652ef3a681c681c764f1974c4199f /bindings/php4
parente6b196279f38b80170efd8d0748b31b489f04b15 (diff)
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.
Diffstat (limited to 'bindings/php4')
-rw-r--r--bindings/php4/lasso_php4_helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bindings/php4/lasso_php4_helper.c b/bindings/php4/lasso_php4_helper.c
index 6bdc3bb2..bf4f2893 100644
--- a/bindings/php4/lasso_php4_helper.c
+++ b/bindings/php4/lasso_php4_helper.c
@@ -6,6 +6,7 @@
#undef PACKAGE_VERSION
#include <lasso/lasso.h>
#include "php_lasso.h"
+#include "../../lasso/utils.h"
/* utility functions */
static void free_glist(GList **list, GFunc free_function);
@@ -149,7 +150,7 @@ get_xml_node_from_string(char *string)
if (node != NULL) {
node = xmlCopyNode(node, 1);
}
- xmlFreeDoc(doc);
+ lasso_release_doc(doc);
return node;
}