tony2001 Thu May 4 22:47:53 2006 UTC Modified files: /php-src/ext/informix ifx.ec Log: plug a leak http://cvs.php.net/viewcvs.cgi/php-src/ext/informix/ifx.ec?r1=1.115&r2=1.116&diff_format=u Index: php-src/ext/informix/ifx.ec diff -u php-src/ext/informix/ifx.ec:1.115 php-src/ext/informix/ifx.ec:1.116 --- php-src/ext/informix/ifx.ec:1.115 Thu May 4 18:59:59 2006 +++ php-src/ext/informix/ifx.ec Thu May 4 22:47:53 2006 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ifx.ec,v 1.115 2006/05/04 18:59:59 tony2001 Exp $ */ +/* $Id: ifx.ec,v 1.116 2006/05/04 22:47:53 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; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php