diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2006-12-21 01:57:05 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2006-12-21 01:57:05 +0000 |
commit | dba3fe385d52c444784ef153a10d554857162b39 (patch) | |
tree | f3a6a2b45dbb4c9b138ef19be1dd75ea7783e270 /Zend/zend_operators.c | |
parent | 6aec52bde7b7f070320552e584e7cc02ca527b59 (diff) | |
download | php-git-dba3fe385d52c444784ef153a10d554857162b39.tar.gz |
Fixed possible memory leak
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; } } |