diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2010-05-20 20:17:49 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2010-05-20 20:17:49 +0000 |
commit | 31f62dbc72f5d2c2670a1e3646a4bf2e62f0321d (patch) | |
tree | 3c4fa806ce67f88e6c3cc406f24e22d67a4cc82f /Zend/zend_variables.c | |
parent | cf174c13662c32003690c5ced54e47674ce7ffc2 (diff) | |
download | php-git-31f62dbc72f5d2c2670a1e3646a4bf2e62f0321d.tar.gz |
Fixed a memory leak
Diffstat (limited to 'Zend/zend_variables.c')
-rw-r--r-- | Zend/zend_variables.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c index 47f2462761..f6f1ea728e 100644 --- a/Zend/zend_variables.c +++ b/Zend/zend_variables.c @@ -32,6 +32,7 @@ ZEND_API void _zval_dtor_func(zval *zvalue ZEND_FILE_LINE_DC) switch (Z_TYPE_P(zvalue) & IS_CONSTANT_TYPE_MASK) { case IS_STRING: case IS_CONSTANT: + case IS_CLASS: CHECK_ZVAL_STRING_REL(zvalue); STR_FREE_REL(zvalue->value.str.val); break; |