From 13f0c8b18c704bfcd339a56e50d54d1bc22a08d5 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 11 Apr 2014 16:48:38 +0400 Subject: Fixed double free --- Zend/zend_compile.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index fa50a731c4..818ecf3632 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -6256,9 +6256,6 @@ void zend_do_indirect_references(znode *result, const znode *num_references, zno if (CG(active_op_array)->scope && CG(active_op_array)->this_var == -1) { zend_string *key = STR_INIT("this", sizeof("this")-1, 0); CG(active_op_array)->this_var = lookup_cv(CG(active_op_array), key TSRMLS_CC); - if (CG(active_op_array)->vars[EX_VAR_TO_NUM(CG(active_op_array)->this_var)] != key) { - STR_RELEASE(key); - } } } /* }}} */ -- cgit v1.2.1