summaryrefslogtreecommitdiff
path: root/Zend/zend_opcode.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2018-08-17 13:36:03 +0800
committerXinchen Hui <laruence@gmail.com>2018-08-17 13:36:03 +0800
commit3131ebcea8bd17f9695e49ea56dc2bc85e785fa8 (patch)
tree5c8439cd42a1d18b8e9d2e6c3f5a96c952198859 /Zend/zend_opcode.c
parentfd463a9a6078074f8f648982b42bdd14423fb614 (diff)
parentacd4264f7b9169038cd3f320169c1ec569c3e5ba (diff)
downloadphp-git-3131ebcea8bd17f9695e49ea56dc2bc85e785fa8.tar.gz
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: Update NEWS Fixed bug #76754 (parent private constant in extends class memory leak)
Diffstat (limited to 'Zend/zend_opcode.c')
-rw-r--r--Zend/zend_opcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c
index f750403620..6bed3c7b59 100644
--- a/Zend/zend_opcode.c
+++ b/Zend/zend_opcode.c
@@ -256,8 +256,8 @@ ZEND_API void destroy_zend_class(zval *zv)
}
}
} ZEND_HASH_FOREACH_END();
- zend_hash_destroy(&ce->constants_table);
}
+ zend_hash_destroy(&ce->constants_table);
if (ce->num_interfaces > 0 && ce->interfaces) {
efree(ce->interfaces);
}