diff options
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r-- | Zend/zend_operators.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 7559f2b67a..286f8ff515 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -661,6 +661,8 @@ ZEND_API void convert_to_array(zval *op) convert_object_to_type(op, IS_ARRAY, convert_to_array); if (op->type == IS_ARRAY) { + zend_hash_destroy(ht); + FREE_HASHTABLE(ht); return; } } |