Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
change free by xbt_free_f
[simgrid.git] / src / gras / Virtu / sg_emul.c
index ad165ea..1fc6e85 100644 (file)
@@ -49,7 +49,7 @@ static void store_in_dict(xbt_dict_t dict, const char *key, double value)
   ir = xbt_dict_get_or_null(dict, key);
   if (!ir) {
     ir = xbt_new0(double,1);
-    xbt_dict_set(dict, key, ir, free);
+    xbt_dict_set(dict, key, ir, xbt_free_f);
   }
   *ir = value;
 }