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 */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php