From: Antony Dovgal Date: Tue, 28 Sep 2004 17:28:27 +0000 (+0000) Subject: MFH: fix bug #29652 X-Git-Tag: php-4.3.10RC1~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2cea361dbec4e1e9cd99faa0803984468958752;p=php MFH: fix bug #29652 --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index bded0a9567..c74830a1de 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -2467,6 +2467,13 @@ _oci_close_session(oci_session *session) (ub4) OCI_HTYPE_SESSION)); } +#ifdef HAVE_OCI_9_2 + /* free environment handle (and fix bug #29652 with growing .msb FD number under weirdie Solarises) */ + CALL_OCI(OCIHandleFree( + (dvoid *) session->pEnv, + OCI_HTYPE_ENV)); +#endif + hashed_details = session->hashed_details; if (! OCI(shutdown)) {