diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-10-31 01:20:38 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-10-31 01:20:38 +0300 |
commit | 8482a6f51184c1c099a74c8252ca2b609f3b5ea7 (patch) | |
tree | 2fbedb502f63736b2c15f9d96d881ab5cc86eeee /Zend/zend_opcode.c | |
parent | 02d6c259b9ba4a2ad8f54471860ac0c446b69af0 (diff) | |
download | php-git-8482a6f51184c1c099a74c8252ca2b609f3b5ea7.tar.gz |
Fixed use-after free introduced in fcc08ce19f39f7ab1381ecc8a010037d41819329
Diffstat (limited to 'Zend/zend_opcode.c')
-rw-r--r-- | Zend/zend_opcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c index 2382afbfb9..3e01b3fc72 100644 --- a/Zend/zend_opcode.c +++ b/Zend/zend_opcode.c @@ -351,8 +351,8 @@ ZEND_API void destroy_zend_class(zval *zv) if (c->doc_comment) { zend_string_release(c->doc_comment); } - free(c); } + free(c); } ZEND_HASH_FOREACH_END(); zend_hash_destroy(&ce->constants_table); } |