From 5972326eb1013c4071d7af0c8959d6fbf793ef78 Mon Sep 17 00:00:00 2001 From: Lucas Schnorr Date: Fri, 20 Jan 2012 16:25:19 +0100 Subject: [PATCH] [trace] when destroying a container, remove its references from allContainers --- src/instr/instr_paje.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.20.1