cvs: php-src(PHP_4_3) /ext/ingres_ii ii.c
| From: | Ilia Alshanetsky | Date: | Tue, 18 May 2004 23:26:45 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /ext/ingres_ii ii.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-27380@lists.php.net to get a copy of this message | ||
iliaa Tue May 18 19:26:45 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/ingres_ii ii.c
Log:
MFH: Fixed possible memory leak.
http://cvs.php.net/diff.php/php-src/ext/ingres_ii/ii.c?r1=1.31.8.3&r2=1.31.8.4&ty=u
Index: php-src/ext/ingres_ii/ii.c
diff -u php-src/ext/ingres_ii/ii.c:1.31.8.3 php-src/ext/ingres_ii/ii.c:1.31.8.4
--- php-src/ext/ingres_ii/ii.c:1.31.8.3 Fri Feb 21 01:46:27 2003
+++ php-src/ext/ingres_ii/ii.c Tue May 18 19:26:45 2004
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ii.c,v 1.31.8.3 2003/02/21 06:46:27 sniper Exp $ */
+/* $Id: ii.c,v 1.31.8.4 2004/05/18 23:26:45 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -541,6 +541,7 @@
} else { /* already open persistent connection */
if (Z_TYPE_P(le) != le_ii_plink) {
+ efree(hashed_details);
RETURN_FALSE;
}
/* here we should ensure that the link did not die */