options_theme: fix CID 1339832: Null pointer dereference

This commit is contained in:
Boris Faure 2015-11-19 21:07:18 +01:00
parent 8190ddd605
commit 93d7c8cb29
1 changed files with 1 additions and 0 deletions

View File

@ -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,