From: SooChan Lim Date: Fri, 17 Jul 2020 08:08:09 +0000 (+0900) Subject: e_actions: check if the list pointer is null. X-Git-Tag: submit/tizen/20200720.080509~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F83%2F238783%2F2;p=platform%2Fupstream%2Fenlightenment.git e_actions: check if the list pointer is null. Change-Id: Ia80682c7e1a23cf3ea50466cedaa5f1942243852 --- diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c index 7e399fa6b1..cd54463b6e 100644 --- a/src/bin/e_actions.c +++ b/src/bin/e_actions.c @@ -1171,6 +1171,9 @@ window_jump_to(const char *params) * If not, there is only one window, so let's use it */ if (eina_list_next(l)) l = l->next; + + if (!l) return 0; + EINA_LIST_FOREACH(l, ll, ec) { if (!ec->icccm.name) continue;