forked from enlightenment/efl
config.c: just free the list.
This fixes 'unused pointer value' warning which was spotted by coverity. CID 1039983.
This commit is contained in:
parent
b0e946684a
commit
76657cf05c
|
@ -2276,7 +2276,7 @@ _font_names_list_load(Evas_Object *flist)
|
|||
EINA_LIST_FOREACH(names_list, l, font)
|
||||
elm_list_item_append(flist, font, NULL, NULL, _font_names_list_sel, NULL);
|
||||
|
||||
EINA_LIST_FREE(names_list, font) ;
|
||||
eina_list_free(names_list);
|
||||
|
||||
evas_object_smart_callback_add(flist, "unselected",
|
||||
_fnames_list_unselect_cb, NULL);
|
||||
|
|
Loading…
Reference in New Issue