From: Lucas Schnorr Date: Fri, 20 Jan 2012 15:25:19 +0000 (+0100) Subject: [trace] when destroying a container, remove its references from allContainers X-Git-Tag: exp_20120216~119^2~52 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5972326eb1013c4071d7af0c8959d6fbf793ef78 [trace] when destroying a container, remove its references from allContainers --- diff --git a/src/instr/instr_paje.c b/src/instr/instr_paje.c index c749648e3f..86eeadf1c6 100644 --- a/src/instr/instr_paje.c +++ b/src/instr/instr_paje.c @@ -347,6 +347,9 @@ void destroyContainer (container_t container) new_pajeDestroyContainer(container); } + //remove it from allContainers data structure + xbt_dict_remove (allContainers, container->name); + //free xbt_free (container->name); xbt_free (container->id);