diff options
| author | Felipe Pena <felipe@php.net> | 2009-07-29 16:17:57 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2009-07-29 16:17:57 +0000 |
| commit | 9e253ac6e7e9774c65b005a73dac3b2236ed9eb6 (patch) | |
| tree | 527ee12c8f982fecd43a7975e318ef9e3fc6ffee /ext/phar/phar_object.c | |
| parent | 24b973cafca339369be49a63721afacce3c51876 (diff) | |
| download | php-git-9e253ac6e7e9774c65b005a73dac3b2236ed9eb6.tar.gz | |
- Fixed memleak on Phar::mungServer()
Diffstat (limited to 'ext/phar/phar_object.c')
| -rwxr-xr-x | ext/phar/phar_object.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index 5159b33037..5f529c480e 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -1027,6 +1027,7 @@ PHP_METHOD(Phar, mungServer) MAKE_STD_ZVAL(unicopy); *unicopy = **data; zval_copy_ctor(unicopy); + INIT_PZVAL(unicopy); zval_unicode_to_string(unicopy TSRMLS_CC); data = &unicopy; } |
