summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-05-18 23:26:53 +0000
committerIlia Alshanetsky <iliaa@php.net>2004-05-18 23:26:53 +0000
commit65e1741d2d529b350be0e4f2360bd79a9bcd864b (patch)
tree248ada014e78b8a0bc3da05301c81e81660f5ab9
parent46eb5401e714058bc8139dc015323f3c05c5397c (diff)
downloadphp-git-65e1741d2d529b350be0e4f2360bd79a9bcd864b.tar.gz
Fixed possible memory leak.
-rw-r--r--ext/ingres_ii/ii.c1
1 files changed, 1 insertions, 0 deletions
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 */