Add missing flush_mutext destroy

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:
Michal Mielewczyk 2024-08-26 16:05:43 +02:00
parent 2221a7bdf8
commit 0a9a173f33

View File

@ -1438,6 +1438,8 @@ static void _ocf_mngt_init_handle_error(ocf_ctx_t ctx,
if (!params->flags.cache_alloc)
return;
env_mutex_destroy(&cache->flush_mutex);
ocf_mngt_cache_lock_deinit(cache);
if (params->flags.metadata_inited)