options_wallpaper: fix CID 1339835: Null pointer dereference
This commit is contained in:
parent
224173f88d
commit
bb2d7c4250
|
@ -234,12 +234,15 @@ _rec_read_directorys(Eina_List *list, const char *root_path,
|
||||||
sizeof(Insert_Gen_Grid_Item_Notify));
|
sizeof(Insert_Gen_Grid_Item_Notify));
|
||||||
item->path = eina_stringshare_add(path);
|
item->path = eina_stringshare_add(path);
|
||||||
list = eina_list_append(list, item);
|
list = eina_list_append(list, item);
|
||||||
|
if (notify)
|
||||||
|
{
|
||||||
//insert item to gengrid
|
//insert item to gengrid
|
||||||
notify->class = class;
|
notify->class = class;
|
||||||
notify->item = item;
|
notify->item = item;
|
||||||
//ecore_thread_feedback(th, notify);
|
//ecore_thread_feedback(th, notify);
|
||||||
_insert_gengrid_item(notify);
|
_insert_gengrid_item(notify);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue