- gras_dict_foreach((gras_dict_t*)tocopy,cursor,name,cell) {
- if ((errcode=gras_cfg_register(*whereto, name, cell->type,
- cell->min, cell->max)) != no_error) {
- if (cursor) gras_dict_cursor_free(cursor);
- if (*whereto) gras_cfg_free(whereto);
- return errcode;
- }
+ xbt_dict_foreach((xbt_dict_t)tocopy,cursor,name,cell) {
+ xbt_cfg_register(*whereto, name, cell->type, cell->min, cell->max);