From 4b659b1d9e6e267f7bb9cb04c0d9297ef0048855 Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Sat, 14 Dec 2019 19:48:38 +0000 Subject: [PATCH] luncher: Fix Crash (rare). Luncher can crash. When freeing e clients (bar.c). (data=0x55f0599a400) at bar.c:851 (gdb) print ec $1 = (E_Client *) 0x0 --- src/modules/luncher/bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c index 565befebc..e318ba7dd 100644 --- a/src/modules/luncher/bar.c +++ b/src/modules/luncher/bar.c @@ -848,7 +848,7 @@ _bar_icon_preview_show(void *data) EINA_LIST_FREE(clients, ec) { - if (!ec->netwm.state.skip_taskbar && !e_client_util_ignored_get(ec)) + if (ec && !ec->netwm.state.skip_taskbar && !e_client_util_ignored_get(ec)) { if (!e_client_util_is_popup(ec)) {