forked from enlightenment/terminology
fix CID1201428 Explicit null dereferenced
This commit is contained in:
parent
42599a47b9
commit
3bc68b99bb
|
@ -339,8 +339,7 @@ _app_server_create_view_cb(Elm_App_Server *server, const Eina_Value *args EINA_U
|
||||||
Eina_List **wins = NULL;
|
Eina_List **wins = NULL;
|
||||||
|
|
||||||
eo_do(server, wins = eo_key_data_get("wins"));
|
eo_do(server, wins = eo_key_data_get("wins"));
|
||||||
wn = eina_list_data_get(*wins);
|
if (!wins || !(wn = eina_list_data_get(*wins)))
|
||||||
if (!wn)
|
|
||||||
{
|
{
|
||||||
ERR("There is no window open");
|
ERR("There is no window open");
|
||||||
*error_name = eina_stringshare_add("There is no window open");
|
*error_name = eina_stringshare_add("There is no window open");
|
||||||
|
|
Loading…
Reference in New Issue