mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:03:03 +01:00
Fixed bug CORE-4830 : Memory leak in SuperServer
This commit is contained in:
parent
1e92d07e09
commit
0ad111458e
@ -4219,7 +4219,7 @@ static DSqlCacheItem* get_dsql_cache_item(thread_db* tdbb, int type, const Fireb
|
||||
{
|
||||
item->obsolete = false;
|
||||
item->locked = false;
|
||||
item->lock = FB_NEW_RPT(*dbb->dbb_permanent, key.length()) Lock();
|
||||
item->lock = FB_NEW_RPT(*attachment->att_pool, key.length()) Lock();
|
||||
|
||||
item->lock->lck_type = LCK_dsql_cache;
|
||||
item->lock->lck_owner_handle = LCK_get_owner_handle(tdbb, item->lock->lck_type);
|
||||
|
Loading…
Reference in New Issue
Block a user