forked from enlightenment/enlightenment
ibox - make coverity happy by reordering free then list remove
fix CID 1403955
This commit is contained in:
parent
554026cfe6
commit
bb390716f5
|
@ -1130,8 +1130,8 @@ _ibox_cb_event_client_uniconify(void *data EINA_UNUSED, int type EINA_UNUSED, vo
|
||||||
int mw, mh, h;
|
int mw, mh, h;
|
||||||
ic = _ibox_icon_find(b, ev->ec);
|
ic = _ibox_icon_find(b, ev->ec);
|
||||||
if (!ic) continue;
|
if (!ic) continue;
|
||||||
_ibox_icon_free(ic);
|
|
||||||
b->icons = eina_list_remove(b->icons, ic);
|
b->icons = eina_list_remove(b->icons, ic);
|
||||||
|
_ibox_icon_free(ic);
|
||||||
_ibox_empty_handle(b);
|
_ibox_empty_handle(b);
|
||||||
_ibox_resize_handle(b);
|
_ibox_resize_handle(b);
|
||||||
_gc_orient(b->inst->gcc, -1);
|
_gc_orient(b->inst->gcc, -1);
|
||||||
|
|
Loading…
Reference in New Issue