mirror of
https://github.com/php/php-src.git
synced 2026-03-26 01:02:25 +01:00
Fix unregistered bug (crash when closing db opened with "CREATE DATABASE ...")
This commit is contained in:
@@ -2372,6 +2372,7 @@ PHP_FUNCTION(ibase_query)
|
||||
ib_link->handle = db;
|
||||
ib_link->dialect = SQL_DIALECT_CURRENT;
|
||||
ib_link->tr_list = NULL;
|
||||
ib_link->event_head = NULL;
|
||||
|
||||
ZEND_REGISTER_RESOURCE(return_value, ib_link, le_link);
|
||||
zend_list_addref(Z_LVAL_P(return_value));
|
||||
|
||||
Reference in New Issue
Block a user