From e2cea361dbec4e1e9cd99faa0803984468958752 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Tue, 28 Sep 2004 17:28:27 +0000 Subject: [PATCH] MFH: fix bug #29652 --- ext/oci8/oci8.c | 7 +++++++ 1 file changed, 7 insertions(+) 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)) { -- 2.50.1