cvs: ZendEngine2 / zend_constants.c

From: Date: Tue, 19 Feb 2008 12:01:14 +0000
Subject: cvs: ZendEngine2 / zend_constants.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-6428@lists.php.net to get a copy of this message
dmitry Tue Feb 19 12:01:14 2008 UTC Modified files: /ZendEngine2 zend_constants.c Log: Fixed memory leak http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_constants.c?r1=1.107&r2=1.108&diff_format=u Index: ZendEngine2/zend_constants.c diff -u ZendEngine2/zend_constants.c:1.107 ZendEngine2/zend_constants.c:1.108 --- ZendEngine2/zend_constants.c:1.107 Mon Dec 31 07:12:06 2007 +++ ZendEngine2/zend_constants.c Tue Feb 19 12:01:14 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_constants.c,v 1.107 2007/12/31 07:12:06 sebastian Exp $ */ +/* $Id: zend_constants.c,v 1.108 2008/02/19 12:01:14 dmitry Exp $ */ #include "zend.h" #include "zend_constants.h" @@ -471,6 +471,7 @@ zval_update_constant_ex(ret_constant, (void*)1, ce TSRMLS_CC); *result = **ret_constant; zval_copy_ctor(result); + INIT_PZVAL(result); } return retval;

« previous php.zend-engine.cvs (#6428) next »