diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2004-05-18 23:26:53 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2004-05-18 23:26:53 +0000 |
commit | 65e1741d2d529b350be0e4f2360bd79a9bcd864b (patch) | |
tree | 248ada014e78b8a0bc3da05301c81e81660f5ab9 | |
parent | 46eb5401e714058bc8139dc015323f3c05c5397c (diff) | |
download | php-git-65e1741d2d529b350be0e4f2360bd79a9bcd864b.tar.gz |
Fixed possible memory leak.
-rw-r--r-- | ext/ingres_ii/ii.c | 1 |
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 */ |