cvs: php-src(PHP_5_1) /ext/informix ifx.ec

From: Date: Thu, 04 May 2006 22:48:16 +0000
Subject: cvs: php-src(PHP_5_1) /ext/informix ifx.ec
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-38029@lists.php.net to get a copy of this message
tony2001 Thu May 4 22:48:16 2006 UTC Modified files: (Branch: PHP_5_1) /php-src/ext/informix ifx.ec Log: plug a leak http://cvs.php.net/viewcvs.cgi/php-src/ext/informix/ifx.ec?r1=1.109.2.6&r2=1.109.2.7&diff_format=u Index: php-src/ext/informix/ifx.ec diff -u php-src/ext/informix/ifx.ec:1.109.2.6 php-src/ext/informix/ifx.ec:1.109.2.7 --- php-src/ext/informix/ifx.ec:1.109.2.6 Thu May 4 19:00:10 2006 +++ php-src/ext/informix/ifx.ec Thu May 4 22:48:16 2006 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ifx.ec,v 1.109.2.6 2006/05/04 19:00:10 tony2001 Exp $ */ +/* $Id: ifx.ec,v 1.109.2.7 2006/05/04 22:48:16 tony2001 Exp $ */ /* ------------------------------------------------------------------- * if you want a function reference : "grep '^\*\*' ifx.ec" will give @@ -2624,6 +2624,7 @@ IFXG(sv_sqlcode) = SQLCODE; php_error_docref(NULL TSRMLS_CC, E_WARNING, "Get descriptor (field # %d) fails (%s)", i, ifx_err); efree(ifx_err); + zval_dtor(return_value); RETURN_FALSE; } @@ -2789,6 +2790,7 @@ IFXG(sv_sqlcode) = SQLCODE; php_error_docref(NULL TSRMLS_CC, E_WARNING, "Get descriptor (field # %d) fails (%s)", i, ifx_err); efree(ifx_err); + zval_dtor(return_value); RETURN_FALSE; }

« previous php.cvs (#38029) next »