]> granicus.if.org Git - php/commitdiff
Fix the leak reported on the PHP 3 list (isset() on string offsets)
authorZeev Suraski <zeev@php.net>
Sat, 2 Oct 1999 15:56:49 +0000 (15:56 +0000)
committerZeev Suraski <zeev@php.net>
Sat, 2 Oct 1999 15:56:49 +0000 (15:56 +0000)
Zend/zend_execute.c

index 808332631942538fbd988db86711037afc1aaae6..6dd9d2901120f3f6df6485dbacffb540ae2ba8d3 100644 (file)
@@ -2033,6 +2033,7 @@ send_by_ref:
                                                        } else {
                                                                isset = 0;
                                                        }
+                                                       zval_ptr_dtor(&Ts[opline->op1.u.var].EA.str);
                                                } else {
                                                        isset = 1;
                                                }