From: Ilia Alshanetsky Date: Tue, 18 May 2004 23:26:53 +0000 (+0000) Subject: Fixed possible memory leak. X-Git-Tag: RELEASE_0_1~124 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65e1741d2d529b350be0e4f2360bd79a9bcd864b;p=php Fixed possible memory leak. --- diff --git a/ext/ingres_ii/ii.c b/ext/ingres_ii/ii.c index a330ebb3c1..c6a312bcc7 100644 --- a/ext/ingres_ii/ii.c +++ b/ext/ingres_ii/ii.c @@ -541,6 +541,7 @@ static void php_ii_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) } 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 */