mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Fixed CORE-4869: Segfault when cleaning metadata cache
This commit is contained in:
parent
00ea12de4f
commit
9474a22cd5
@ -559,8 +559,11 @@ void MET_clear_cache(thread_db* tdbb)
|
||||
{
|
||||
MET_release_procedure_request(tdbb, procedure);
|
||||
|
||||
LCK_release(tdbb, procedure->prc_existence_lock);
|
||||
procedure->prc_existence_lock = NULL;
|
||||
if (procedure->prc_existence_lock)
|
||||
{
|
||||
LCK_release(tdbb, procedure->prc_existence_lock);
|
||||
procedure->prc_existence_lock = NULL;
|
||||
}
|
||||
procedure->prc_flags |= PRC_obsolete;
|
||||
}
|
||||
// Leave it in state 0 to avoid extra pass next time to clear it
|
||||
|
Loading…
Reference in New Issue
Block a user