From 9924a1aecdce7304d258dbb057f03d97120baf72 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Fri, 17 Jul 2020 17:08:09 +0900 Subject: [PATCH] e_actions: check if the list pointer is null. Change-Id: Ia80682c7e1a23cf3ea50466cedaa5f1942243852 --- src/bin/e_actions.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.34.1