1
0
mirror of https://github.com/php/php-src.git synced 2026-04-09 17:13:31 +02:00

(OCILogon) fixed crash in OCILogon if username was not valid (newly introduced - no need for a NEWS entry)

This commit is contained in:
Thies C. Arntzen
2000-03-09 02:42:38 +00:00
parent 1a3864b15c
commit 9abeb4819f

View File

@@ -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);