From: Zeev Suraski Date: Sat, 2 Oct 1999 15:56:49 +0000 (+0000) Subject: Fix the leak reported on the PHP 3 list (isset() on string offsets) X-Git-Tag: php-4.0b3_RC2~374 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77ddd3a35b8b751a2df5e0c70ad8355146f82719;p=php Fix the leak reported on the PHP 3 list (isset() on string offsets) --- diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index 8083326319..6dd9d29011 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -2033,6 +2033,7 @@ send_by_ref: } else { isset = 0; } + zval_ptr_dtor(&Ts[opline->op1.u.var].EA.str); } else { isset = 1; }