diff options
author | Thies C. Arntzen <thies@php.net> | 2000-03-09 02:42:38 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2000-03-09 02:42:38 +0000 |
commit | 9abeb4819fe74d9600484cdc34841e22d0acf2ae (patch) | |
tree | 6c57f49d74815085aaa79b21f59087bf74d8e29d /ext/oci8 | |
parent | 1a3864b15c9f7c3bd00087d5e04addb9a67da78b (diff) | |
download | php-git-9abeb4819fe74d9600484cdc34841e22d0acf2ae.tar.gz |
(OCILogon) fixed crash in OCILogon if username was not valid (newly introduced - no need for a NEWS entry)
Diffstat (limited to 'ext/oci8')
-rw-r--r-- | ext/oci8/oci8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index fb0287e23b..17587cdb67 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); |