aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-04-11 14:38:55 +0900
committerMike Blumenkrantz <zmike@samsung.com>2018-08-02 09:57:16 -0400
commit65039f9c4c4f69fcdb83018721f89e4277f59565 (patch)
tree6fdfc907d850a16f23cd3fb14ed7df02f97c49a5
parentstartup - fix management of timer pointer for startup timeout (diff)
downloadenlightenment-65039f9c4c4f69fcdb83018721f89e4277f59565.tar.gz
efm - dont add null icons to list ... fixes segv
as per title. dont store null icons in the list - not intended to be that way. @fix
-rw-r--r--src/bin/e_fm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 1dd3ffaca..1ef171c9f 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -4561,7 +4561,7 @@ _e_fm2_uri_selected_icon_list_get(Eina_List *uri)
if (eina_list_data_find(ic->sd->selected_icons, ic)) break;
ic = NULL;
}
- icons = eina_list_append(icons, ic);
+ if (ic) icons = eina_list_append(icons, ic);
}
return icons;
}