diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-04-11 16:48:38 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-04-11 16:48:38 +0400 |
commit | 13f0c8b18c704bfcd339a56e50d54d1bc22a08d5 (patch) | |
tree | 1e12c5fedf202f91f22d61aa03e0a0dc7e7a2b41 | |
parent | 2614d945f8c6bd9510f2d145b5c9ee0f3fc093cc (diff) | |
download | php-git-13f0c8b18c704bfcd339a56e50d54d1bc22a08d5.tar.gz |
Fixed double free
-rw-r--r-- | Zend/zend_compile.c | 3 |
1 files changed, 0 insertions, 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); - } } } /* }}} */ |