add null check before using e_zone_current_get's result variable.
when get window angle
Change-Id: Ief734dfb94e74c0e7e535b69ea0014e0431e470f
E_Comp_Wl_Client_Data *cdata;
zone = e_zone_current_get();
+ if(!zone)
+ {
+ DEBUG("Fail to found zone");
+ return cover->angle;
+ }
E_CLIENT_REVERSE_FOREACH(ec)
{
if (e_object_is_del(E_OBJECT(ec))) continue;
if (e_client_util_ignored_get(ec)) continue;
- if (zone && ec->zone != zone) continue;
+ if (ec->zone != zone) continue;
if (!ec->frame) continue;
cdata = (E_Comp_Wl_Client_Data *)ec->comp_data;
if (cdata && cdata->sub.data) continue;