]> granicus.if.org Git - php/commitdiff
MFH: Fix segfaults (check ext/domxml/tests/domxml002.phpt)
authorMarcus Boerger <helly@php.net>
Fri, 15 Nov 2002 11:07:34 +0000 (11:07 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 15 Nov 2002 11:07:34 +0000 (11:07 +0000)
ext/domxml/php_domxml.c

index 8e46a7fc03f03f3cd8eab85443617ff91d806a47..c00f618b6716179170c2d80418c8c2696b0af49d 100644 (file)
@@ -572,7 +572,7 @@ static inline void node_wrapper_dtor(xmlNodePtr node)
        zval *wrapper;
        int refcount = 0;
        /* FIXME: type check probably unnecessary here? */
-       if (!node || Z_TYPE_P(node) == XML_DTD_NODE)
+       if (!node) /* || Z_TYPE_P(node) == XML_DTD_NODE)*/
                return;
 
        wrapper = dom_object_get_data(node);