]> granicus.if.org Git - php/commitdiff
fix memleak
authorAntony Dovgal <tony2001@php.net>
Thu, 18 Aug 2005 15:13:15 +0000 (15:13 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 18 Aug 2005 15:13:15 +0000 (15:13 +0000)
Zend/zend_builtin_functions.c

index 1bab7ac4fe0dbb225043a748992d5c16f717c67b..2cf7237be541353ec307d93685bc7a1c427199d5 100644 (file)
@@ -229,6 +229,7 @@ ZEND_FUNCTION(func_get_arg)
        arg = *(p-(arg_count-requested_offset));
        *return_value = *arg;
        zval_copy_ctor(return_value);
+       INIT_PZVAL(return_value);
 }
 /* }}} */