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
This commit is contained in:
Alastair Poole 2019-12-14 19:48:38 +00:00
parent 0bc71f4c9d
commit 4b659b1d9e
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{