summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-05-18 23:27:03 +0000
committerIlia Alshanetsky <iliaa@php.net>2004-05-18 23:27:03 +0000
commit8635889231ae3515bc260d68108b9cab4c7def29 (patch)
tree224e47a0223cc06188d1f977b03f79e06014d109
parentc0cea9613983c6f2d713f5dcc36faf4f9991be97 (diff)
downloadphp-git-8635889231ae3515bc260d68108b9cab4c7def29.tar.gz
MFH: 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 6b3e20f4e5..f866df0502 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 */