diff options
| author | Antony Dovgal <tony2001@php.net> | 2006-05-04 22:47:55 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2006-05-04 22:47:55 +0000 |
| commit | 4022853243ab4426e74ac5d507bd66a8f9a481fb (patch) | |
| tree | 7bbff772a4713d9f78b2b8c2b4c7c547782b1e95 | |
| parent | 88b15b79a294594059352afc494461ae7aad7863 (diff) | |
| download | php-git-4022853243ab4426e74ac5d507bd66a8f9a481fb.tar.gz | |
plug a leak
| -rw-r--r-- | ext/informix/ifx.ec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/informix/ifx.ec b/ext/informix/ifx.ec index 8410a1d2f8..72a2c55e5e 100644 --- a/ext/informix/ifx.ec +++ b/ext/informix/ifx.ec @@ -2624,6 +2624,7 @@ EXEC SQL END DECLARE SECTION; 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 @@ EXEC SQL END DECLARE SECTION; 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; } |
