Bug #14522 Crash with using $node->unlink();
Bug #14522 was prematurely marked as closed; i submitted this patch, but
the bug was marked as closed, before the patch really got a applied to
CVS to fix it...
regards,
-lukas
Index: php_domxml.c
===================================================================
RCS file: /repository/php4/ext/domxml/php_domxml.c,v
retrieving revision 1.119
diff -u -r1.119 php_domxml.c
--- php_domxml.c 7 Mar 2002 16:34:13 -0000 1.119
+++ php_domxml.c 7 Mar 2002 22:17:49 -0000
@@ -1802,8 +1802,6 @@
DOMXML_PARAM_NONE(nodep, id, le_domxmlnodep);
xmlUnlinkNode(nodep);
- xmlFreeNode(nodep);
- zval_dtor(id); /* This is not enough because the
children won't be deleted */
}
/* }}} */
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php