-/* Copyright (c) 2010-2014. The SimGrid Team.
+/* Copyright (c) 2010-2015. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
parent->is_lowest = 1;
xbt_dynar_free(&parent->container_children);
parent->container_children = NULL;
- parent->name2id = xbt_dict_new_homogeneous(xbt_free);
+ parent->name2id = xbt_dict_new_homogeneous(xbt_free_f);
parent->last_id = 0;
parent->resource_list = xbt_dynar_new(sizeof(char *), NULL);
xbt_assert(key != NULL);
xbt_assert(value != NULL);
- val_cp = strdup(value);
+ val_cp = xbt_strdup(value);
xbt_dict_set(jedule->jedule_meta_info, key, val_cp, NULL);
}