Add missing cache lock deinit
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:
parent
28f679cc91
commit
2221a7bdf8
@ -1438,6 +1438,8 @@ static void _ocf_mngt_init_handle_error(ocf_ctx_t ctx,
|
||||
if (!params->flags.cache_alloc)
|
||||
return;
|
||||
|
||||
ocf_mngt_cache_lock_deinit(cache);
|
||||
|
||||
if (params->flags.metadata_inited)
|
||||
ocf_metadata_deinit(cache);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user