diff options
author | Xinchen Hui <laruence@gmail.com> | 2014-05-03 16:06:27 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2014-05-03 16:08:58 +0800 |
commit | d8651fbe1c4caaaedc42cef1dee0dd3b3f1e447e (patch) | |
tree | 499ace92cf766bf5cd5a1220d54498632416526f /ext/dom | |
parent | 5984f95d8f8d75007fff4963d67ebe65e572efea (diff) | |
download | php-git-d8651fbe1c4caaaedc42cef1dee0dd3b3f1e447e.tar.gz |
Make they are in the same style of Z_ISREF
Diffstat (limited to 'ext/dom')
-rw-r--r-- | ext/dom/php_dom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c index 9f971ee0ac..77bf91920f 100644 --- a/ext/dom/php_dom.c +++ b/ext/dom/php_dom.c @@ -1142,7 +1142,7 @@ static void dom_nnodemap_object_dtor(zend_object *object TSRMLS_DC) /* {{{ */ if (objmap->ns) { xmlFree(objmap->ns); } - if (!ZVAL_IS_UNDEF(&objmap->baseobj_zv)) { + if (!Z_ISUNDEF(objmap->baseobj_zv)) { zval_ptr_dtor(&objmap->baseobj_zv); } efree(objmap); |