mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Don't directly access refcount in interbase
This commit is contained in:
parent
27f09efa11
commit
2d083a3da7
@ -945,8 +945,8 @@ static void _php_ibase_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) /*
|
||||
if (IBG(default_link)) {
|
||||
zend_list_close(IBG(default_link));
|
||||
}
|
||||
xlink->gc.refcount++;
|
||||
xlink->gc.refcount++;
|
||||
GC_ADDREF(xlink);
|
||||
GC_ADDREF(xlink);
|
||||
IBG(default_link) = xlink;
|
||||
RETVAL_RES(xlink);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user