forked from enlightenment/efl
No need to alloc Edje_List_Foreach_Data
SVN revision: 27583
This commit is contained in:
parent
2d150b0eef
commit
43dd5f8882
|
@ -264,16 +264,11 @@ edje_color_class_del(const char *color_class)
|
|||
Evas_List *
|
||||
edje_color_class_list(void)
|
||||
{
|
||||
Edje_List_Foreach_Data *fdata;
|
||||
Evas_List *list;
|
||||
Edje_List_Foreach_Data fdata;
|
||||
|
||||
fdata = calloc(1, sizeof(Edje_List_Foreach_Data));
|
||||
evas_hash_foreach(_edje_color_class_member_hash, _edje_color_class_list_foreach, fdata);
|
||||
evas_hash_foreach(_edje_color_class_member_hash, _edje_color_class_list_foreach, &fdata);
|
||||
|
||||
list = fdata->list;
|
||||
free(fdata);
|
||||
|
||||
return list;
|
||||
return fdata.list;
|
||||
}
|
||||
|
||||
static Evas_Bool
|
||||
|
|
Loading…
Reference in New Issue