options_theme: fix CID 1339832: Null pointer dereference
This commit is contained in:
parent
8190ddd605
commit
93d7c8cb29
|
@ -181,6 +181,7 @@ options_theme(Evas_Object *opbox, Evas_Object *term)
|
|||
}
|
||||
|
||||
t = calloc(1, sizeof(Theme));
|
||||
if (!t) break;
|
||||
t->name = eina_stringshare_add(file);
|
||||
t->term = term;
|
||||
t->item = elm_gengrid_item_append(o, it_class, t,
|
||||
|
|
Loading…
Reference in New Issue