discomfitor pushed a commit to branch enlightenment-0.22.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=65039f9c4c4f69fcdb83018721f89e4277f59565

commit 65039f9c4c4f69fcdb83018721f89e4277f59565
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Apr 11 14:38:55 2018 +0900

    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 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;
 }

-- 


Reply via email to