fix possible NULL dereference

This commit is contained in:
Boris Faure 2014-04-12 14:59:31 +02:00
parent 3bc68b99bb
commit 86cc375322
1 changed files with 2 additions and 0 deletions

View File

@ -375,6 +375,8 @@ app_server_init(Eina_List **wins, Eina_Bool restore_views)
char lock_file[PATH_MAX], eet_dir[PATH_MAX];
FILE *f;
if (!wins)
return;
wn = eina_list_data_get(*wins);
if (!wn)
return;