forked from enlightenment/efl
evas cache image - remove double unlock of image task locks.
this is indeed a bug and fixes coverity CID 1367492
This commit is contained in:
parent
7b736d20b8
commit
b61e69a956
|
@ -545,8 +545,6 @@ _evas_cache_image_entry_preload_remove(Image_Entry *ie, const Eo *target)
|
||||||
task = eina_list_data_get(l);
|
task = eina_list_data_get(l);
|
||||||
ie->tasks = eina_list_remove_list(ie->tasks, l);
|
ie->tasks = eina_list_remove_list(ie->tasks, l);
|
||||||
if (task != &dummy_task) free(task);
|
if (task != &dummy_task) free(task);
|
||||||
SLKU(ie->lock_task);
|
|
||||||
|
|
||||||
free(tg);
|
free(tg);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue