? bug29652.diff.txt Index: oci8.c =================================================================== RCS file: /repository/php-src/ext/oci8/oci8.c,v retrieving revision 1.259 diff -u -r1.259 oci8.c --- oci8.c 19 Jul 2004 07:35:41 -0000 1.259 +++ oci8.c 22 Sep 2004 08:28:07 -0000 @@ -3009,6 +3009,15 @@ } mutex_unlock(mx_lock); +#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 if (session->exclusive) { efree(session); }