diff options
| author | Marcus Boerger <helly@php.net> | 2002-11-15 11:07:34 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2002-11-15 11:07:34 +0000 |
| commit | f16e2e6650d8826fdb0f4b614799f2c7041c2bf0 (patch) | |
| tree | c550234cdc808421b1576c15f293aba49212b995 /ext/domxml/php_domxml.c | |
| parent | bbcb203900bf2a34e5ccc2fda9cca6a2fe5857c1 (diff) | |
| download | php-git-f16e2e6650d8826fdb0f4b614799f2c7041c2bf0.tar.gz | |
MFH: Fix segfaults (check ext/domxml/tests/domxml002.phpt)
Diffstat (limited to 'ext/domxml/php_domxml.c')
| -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 8e46a7fc03..c00f618b67 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -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); |
