From 0e59861be3822bc8f8c93a851abaf06612ed17da Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Wed, 23 Feb 2011 10:37:17 +0000 Subject: [PATCH] e17/fm: fix last commit. it's possible that ic_next could be NULL SVN revision: 57260 --- 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 bc28190ad..98dc53109 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -9522,7 +9522,7 @@ _e_fm2_file_delete_yes_cb(void *data, E_Dialog *dialog) { EINA_LIST_FOREACH(sel, l, ici) { - if (&(ic_next->info) == ici) + if (ic_next && (&(ic_next->info) == ici)) ic_next = NULL; snprintf(buf, sizeof(buf), "%s/%s", ic->sd->realpath, ici->file);