aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-04-11 14:38:55 +0900
committerChris Michael <cp.michael@samsung.com>2018-06-12 08:12:47 -0400
commit348494b2fa61d61622105ec22972d122a0385964 (patch)
tree439ede02df5628e4dfd6ad7e03ef8d9bb344bd3d
parentstartup - fix management of timer pointer for startup timeout (diff)
downloadenlightenment-348494b2fa61d61622105ec22972d122a0385964.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 2861d7239..4d383e809 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;
}