example: Fix ocf_volume destruction in error handling code
Pass the right pointer type to function ocf_volume_destroy(). Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
3f552703f5
commit
a525cb9f62
@ -169,7 +169,7 @@ err_cache:
|
||||
err_priv:
|
||||
free(cache_priv);
|
||||
err_vol:
|
||||
ocf_volume_destroy(&volume);
|
||||
ocf_volume_destroy(volume);
|
||||
err_sem:
|
||||
sem_destroy(&context.sem);
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user