Add missing env wrapper
Signed-off-by: Michal Rakowski <michal.rakowski@intel.com>
This commit is contained in:
parent
944d70288e
commit
fc971b9961
@ -35,7 +35,7 @@ int ocf_queue_create(ocf_cache_t cache, ocf_queue_t *queue,
|
|||||||
result = env_spinlock_init(&tmp_queue->io_list_lock);
|
result = env_spinlock_init(&tmp_queue->io_list_lock);
|
||||||
if (result) {
|
if (result) {
|
||||||
ocf_mngt_cache_put(cache);
|
ocf_mngt_cache_put(cache);
|
||||||
free(tmp_queue);
|
env_free(tmp_queue);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user