fix warning about use after free - wasnt but coverity didn't know better

silence CID 165236
This commit is contained in:
Carsten Haitzler 2017-09-28 10:49:40 +09:00
parent 9663ce71b4
commit d82c1877ec
1 changed files with 1 additions and 1 deletions

View File

@ -89,8 +89,8 @@ static void
_busy_pending_del(Pending *p) _busy_pending_del(Pending *p)
{ {
eina_stringshare_del(p->realpath); eina_stringshare_del(p->realpath);
free(p);
busy_thumbs = eina_list_remove(busy_thumbs, p); busy_thumbs = eina_list_remove(busy_thumbs, p);
free(p);
} }
static Eina_Bool static Eina_Bool