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:
parent
0bc71f4c9d
commit
4b659b1d9e
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue