summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-08-06 12:36:22 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-08-06 12:36:22 +0100
commit554026cfe64f50070a9be7eaa50d9b55141e69bc (patch)
treec0dddbe0aa22b7c342f76198744d63cd84f74593 /src/modules
parent1fa7d4a07bfffef77f7afbd4cd9b18141dddb543 (diff)
ibox - make coverity happy by reordering free then list remove
fix CID 1403956
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ibox/e_mod_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ibox/e_mod_main.c b/src/modules/ibox/e_mod_main.c
index 23d4f15..0af944c 100644
--- a/src/modules/ibox/e_mod_main.c
+++ b/src/modules/ibox/e_mod_main.c
@@ -1065,8 +1065,8 @@ _ibox_cb_event_client_remove(void *data EINA_UNUSED, int type EINA_UNUSED, void
1065 { 1065 {
1066 ic = _ibox_icon_find(b, ev->ec); 1066 ic = _ibox_icon_find(b, ev->ec);
1067 if (!ic) continue; 1067 if (!ic) continue;
1068 _ibox_icon_free(ic);
1069 b->icons = eina_list_remove(b->icons, ic); 1068 b->icons = eina_list_remove(b->icons, ic);
1069 _ibox_icon_free(ic);
1070 _ibox_empty_handle(b); 1070 _ibox_empty_handle(b);
1071 _ibox_resize_handle(b); 1071 _ibox_resize_handle(b);
1072 _gc_orient(b->inst->gcc, -1); 1072 _gc_orient(b->inst->gcc, -1);