example: Destroy volume remnant after it's moved

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga 2022-09-06 11:59:39 +02:00
parent 0ede30d552
commit 8453bb9da1

View File

@ -161,6 +161,8 @@ int initialize_cache(ocf_ctx_t ctx, ocf_cache_t *cache)
if (ret)
goto err_cache;
ocf_volume_destroy(volume);
return 0;
err_cache: