ibox - make coverity happy by reordering free then list remove

fix CID 1403955
This commit is contained in:
Carsten Haitzler 2019-08-06 12:40:08 +01:00
parent 554026cfe6
commit bb390716f5
1 changed files with 1 additions and 1 deletions

View File

@ -1130,8 +1130,8 @@ _ibox_cb_event_client_uniconify(void *data EINA_UNUSED, int type EINA_UNUSED, vo
int mw, mh, h;
ic = _ibox_icon_find(b, ev->ec);
if (!ic) continue;
_ibox_icon_free(ic);
b->icons = eina_list_remove(b->icons, ic);
_ibox_icon_free(ic);
_ibox_empty_handle(b);
_ibox_resize_handle(b);
_gc_orient(b->inst->gcc, -1);