diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-11-04 01:58:49 +0000 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2008-11-04 01:58:49 +0000 |
commit | 0d66367f2892a9f1e18fde1e6984bef65c5bd732 (patch) | |
tree | 7fa6f8533cb652ef3a681c681c764f1974c4199f /bindings/php5/wrapper_source_top.c | |
parent | e6b196279f38b80170efd8d0748b31b489f04b15 (diff) | |
download | lasso-0d66367f2892a9f1e18fde1e6984bef65c5bd732.tar.gz lasso-0d66367f2892a9f1e18fde1e6984bef65c5bd732.tar.xz lasso-0d66367f2892a9f1e18fde1e6984bef65c5bd732.zip |
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/php5/wrapper_source_top.c')
-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; } |