From: foobar Date: Wed, 1 Nov 2000 05:05:33 +0000 (+0000) Subject: No more segfaults. X-Git-Tag: php-4.0.4RC3~407 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ad70830056391df30cb73bac41bcd3711ecfe20;p=php No more segfaults. --- 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. */