X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8fb8fe0209c338a9b11781a002acfaf4f708afeb..1f50f809c4d885ff2b2c1a626d69ebb4cea0502f:/src/xbt/dict.c diff --git a/src/xbt/dict.c b/src/xbt/dict.c index b844cb464b..f52f98bf08 100644 --- a/src/xbt/dict.c +++ b/src/xbt/dict.c @@ -608,12 +608,6 @@ void xbt_dict_dump_sizes(xbt_dict_t dict) */ void xbt_dict_preinit(void) { - if (dict_elm_mallocator != NULL) { - /* Already created. I guess we want to switch to MC mode, so kill the previously created mallocator */ - xbt_mallocator_free(dict_elm_mallocator); - xbt_mallocator_free(dict_het_elm_mallocator); - } - dict_elm_mallocator = xbt_mallocator_new(256, dict_elm_mallocator_new_f, dict_elm_mallocator_free_f,