diff options
-rw-r--r-- | ext/domxml/php_domxml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 5cf116fc0a..7b2fed2dc7 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -133,7 +133,7 @@ PHP_MINIT_FUNCTION(domxml) domxmltestnode_class_startup(); #endif - le_domxmldocp = zend_register_list_destructors_ex(xmlFreeDoc, NULL, "domxml document", module_number); + le_domxmldocp = zend_register_list_destructors_ex(php_free_xml_doc, NULL, "domxml document", module_number); /* Freeing the document contains freeing the complete tree. Therefore nodes, attributes etc. may not be freed seperately. */ |