What happens if a group has 2 name statements("double named")?
edje will fail to free the groups cache while shuting down due
the collection directory entry hash having two entries with
different names but pointing to the same object - the second try
to free the part mem pool will fail - since it was freed before -
and issue an abort.
SVN revision: 82093
current_pc = eina_list_data_get(eina_list_last(edje_collections));
+ if (current_de->entry)
+ goto double_named_group;
+
current_de->entry = parse_str(0);
current_pc->part = current_de->entry;
break;
}
+double_named_group:
+ ERR("Invalid group, only a single name statement is valid for group, use "
+ "alias instead.");
+ exit(-1);
}
typedef struct _Edje_List_Foreach_Data Edje_List_Foreach_Data;