X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a30eb8d63c2291f6b50b935cecf16139b372f9f2..12442080c860b7affd1b246f12895bda4f304330:/src/xbt/dict_multi.c diff --git a/src/xbt/dict_multi.c b/src/xbt/dict_multi.c index eadf725aab..2ee799cd32 100644 --- a/src/xbt/dict_multi.c +++ b/src/xbt/dict_multi.c @@ -9,7 +9,7 @@ #include "dict_private.h" -XBT_LOG_NEW_DEFAULT_SUBCATEGORY(dict_multi,dict, "Dictionaries of multiple keys"); +XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_dict_multi,xbt_dict, "Dictionaries of multiple keys"); static void _free_dict(void*d) { VERB1("free dict %p",d); @@ -62,7 +62,7 @@ xbt_multidict_set_ext(xbt_dict_t mdict, RETHROW; /* make sure the dict of next level exists */ - xbt_ex_free(&e); + xbt_ex_free(e); nextlevel=xbt_dict_new(); VERB1("Create a dict (%p)",nextlevel); xbt_dict_set_ext(thislevel, thiskey, thislen, nextlevel, &_free_dict); @@ -100,7 +100,7 @@ xbt_multidict_set(xbt_dict_t mdict, TRY { xbt_multidict_set_ext(mdict, keys, lens, data, free_ctn); } CLEANUP { - xbt_dynar_free(&lens); + xbt_dynar_free(&lens); } CATCH(e) { RETHROW; } @@ -208,7 +208,7 @@ xbt_multidict_remove_ext(xbt_dict_t mdict, xbt_dynar_t keys, xbt_dynar_t lens) { } CATCH(e) { /* If non-existant entry, nothing to do */ if (e.category == arg_error) - xbt_ex_free(&e); + xbt_ex_free(e); else RETHROW; }