From: Marcus Boerger Date: Mon, 17 Nov 2003 00:36:41 +0000 (+0000) Subject: Correct destruction X-Git-Tag: php-5.0.0b3RC1~678 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39df192788feed4bca2d27aed5d1b4f8cf038fcd;p=php Correct destruction --- diff --git a/Zend/zend_interfaces.c b/Zend/zend_interfaces.c index aa857af396..d3d9f773bc 100755 --- a/Zend/zend_interfaces.c +++ b/Zend/zend_interfaces.c @@ -86,8 +86,7 @@ ZEND_API zval* zend_call_method(zval **object_pp, zend_class_entry *obj_ce, zend } if (!retval_ptr_ptr) { if (retval) { - zval_dtor(retval); - FREE_ZVAL(retval); + zval_ptr_dtor(&retval); } return NULL; }