From 20130aec91bbf9a44052b57b58d90395414229b5 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 11 Apr 2018 14:38:55 +0900 Subject: [PATCH] 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 --- src/bin/e_fm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }