com php-src: destroy tables properly: Zend/zend_opcode.c
| From: | Joe Watkins | Date: | Fri, 24 Oct 2014 12:07:06 +0000 |
| Subject: | com php-src: destroy tables properly: Zend/zend_opcode.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82494@lists.php.net to get a copy of this message | ||
Commit: f9ec36e6f815e3f17cd53a432f818ec9a2e6dd14
Author: krakjoe <joe.watkins@live.co.uk> Fri, 24 Oct 2014 13:07:06 +0100
Parents: 2d5e090dbc81a25c760884962c65f2acc9795b92
Branches: mutators
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f9ec36e6f815e3f17cd53a432f818ec9a2e6dd14
Log:
destroy tables properly
Changed paths:
M Zend/zend_opcode.c
Diff:
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c
index 5902abd..b18dda0 100644
--- a/Zend/zend_opcode.c
+++ b/Zend/zend_opcode.c
@@ -264,6 +264,8 @@ ZEND_API void destroy_zend_class(zval *zv)
zend_hash_destroy(&ce->properties_info);
zend_string_release(ce->name);
zend_hash_destroy(&ce->function_table);
+ zend_hash_destroy(&ce->accessor_table);
+ zend_hash_destroy(&ce->mutator_table);
zend_hash_destroy(&ce->constants_table);
if (ce->num_interfaces > 0 && ce->interfaces) {
efree(ce->interfaces);