Browse Source

No more segfaults.

PHP-4.0.5
foobar 26 years ago
parent
commit
2ad7083005
  1. 2
      ext/domxml/php_domxml.c

2
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.
*/

Loading…
Cancel
Save