summaryrefslogtreecommitdiff
path: root/ext/domxml
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2000-10-25 17:44:02 +0000
committerAndrei Zmievski <andrei@php.net>2000-10-25 17:44:02 +0000
commitf1dcb32c9fb395b68e0fe5d39dc3aa6bd7f8eff6 (patch)
tree6c90603474e1279c8124d0d442fc25385fc183a4 /ext/domxml
parent84681b9c814f04ce7eaaa6787051cf720944c78b (diff)
downloadphp-git-f1dcb32c9fb395b68e0fe5d39dc3aa6bd7f8eff6.tar.gz
Use zend_register_list_destructors_ex() instead.
Diffstat (limited to 'ext/domxml')
-rw-r--r--ext/domxml/php_domxml.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c
index 49431aac74..5cf116fc0a 100644
--- a/ext/domxml/php_domxml.c
+++ b/ext/domxml/php_domxml.c
@@ -133,12 +133,12 @@ PHP_MINIT_FUNCTION(domxml)
domxmltestnode_class_startup();
#endif
- le_domxmldocp = register_list_destructors(xmlFreeDoc, NULL, "domxml document");
+ le_domxmldocp = zend_register_list_destructors_ex(xmlFreeDoc, NULL, "domxml document", module_number);
/* Freeing the document contains freeing the complete tree.
Therefore nodes, attributes etc. may not be freed seperately.
*/
- le_domxmlnodep = register_list_destructors(_free_node, NULL, "domxml node");
- le_domxmlattrp = register_list_destructors(NULL, NULL, "domxml attribute");
+ le_domxmlnodep = zend_register_list_destructors_ex(_free_node, NULL, "domxml node", module_number);
+ le_domxmlattrp = zend_register_list_destructors_ex(NULL, NULL, "domxml attribute", module_number);
/* le_domxmlnsp = register_list_destructors(NULL, NULL); */
INIT_CLASS_ENTRY(domxmldoc_class_entry, "DomDocument", php_domxmldoc_class_functions);