diff options
author | Dmitry Stogov <dmitry@php.net> | 2008-02-19 12:00:53 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2008-02-19 12:00:53 +0000 |
commit | a4b872a6d8e9bfe532db6ebd751ef126dfd4a650 (patch) | |
tree | aba9ebe2780ca051532ed407a98b782f272db2f9 /Zend/zend_constants.c | |
parent | 23e18f966bd2b7e710e76ea5e4fb588ec35cb168 (diff) | |
download | php-git-a4b872a6d8e9bfe532db6ebd751ef126dfd4a650.tar.gz |
iFixed memory leak
Diffstat (limited to 'Zend/zend_constants.c')
-rw-r--r-- | Zend/zend_constants.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_constants.c b/Zend/zend_constants.c index 2aee47c120..e4ae38420b 100644 --- a/Zend/zend_constants.c +++ b/Zend/zend_constants.c @@ -392,6 +392,7 @@ ZEND_API int zend_get_constant_ex(char *name, uint name_len, zval *result, zend_ zval_update_constant_ex(ret_constant, (void*)1, ce TSRMLS_CC); *result = **ret_constant; zval_copy_ctor(result); + INIT_PZVAL(result); } return retval; |