From 9abeb4819fe74d9600484cdc34841e22d0acf2ae Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Thu, 9 Mar 2000 02:42:38 +0000 Subject: [PATCH] (OCILogon) fixed crash in OCILogon if username was not valid (newly introduced - no need for a NEWS entry) --- ext/oci8/oci8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index fb0287e23b7..17587cdb677 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -647,7 +647,7 @@ _oci_conn_list_dtor(oci_connection *connection) oci_debug("START _oci_conn_list_dtor: id=%d",connection->id); - if (connection->session->exclusive) { + if (connection->session && connection->session->exclusive) { /* exclusive connection created via OCINLogon() close their associated session when destructed */ zend_list_delete(connection->session->num);