From: Dmitry Stogov Date: Fri, 28 Dec 2007 15:32:25 +0000 (+0000) Subject: Fixed possible memory corruption X-Git-Tag: RELEASE_2_0_0a1~1090 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d107ebec5845316efb67786db4c283af89c23a66;p=php Fixed possible memory corruption --- diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 38329c469f..be8c990a8f 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -795,6 +795,7 @@ static inline zval* zend_assign_to_variable(zval **variable_ptr_ptr, zval *value Z_DELREF_P(value); } zendi_zval_dtor(garbage); + return value; } } else { if (Z_DELREF_P(variable_ptr) == 0) {