1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 02:02:32 +01:00

MF51: fix #37055 (incorrect reference counting for persistent OCI8 connections)

This commit is contained in:
Antony Dovgal
2006-04-12 13:38:05 +00:00
parent 821aff2e9c
commit 33a2dc7495

View File

@@ -1056,7 +1056,7 @@ php_oci_connection *php_oci_do_connect_ex(char *username, int username_len, char
/* okay, the connection is open and the server is still alive */
connection->used_this_request = 1;
smart_str_free_ex(&hashed_details, 0);
connection->rsrc_id = zend_list_insert(connection, le_pconnection);
zend_list_addref(connection->rsrc_id);
return connection;
}
}