Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Clean cleanups with mallocators... Thanks Pablo for pointing this out!
[simgrid.git] / src / xbt / fifo.c
index bf3e61e..84a3ade 100644 (file)
@@ -500,6 +500,7 @@ xbt_fifo_item_t xbt_fifo_getPrevItem(xbt_fifo_item_t i)
 void xbt_fifo_exit(void) {
   if (item_mallocator != NULL) {
     xbt_mallocator_free(item_mallocator);
+    item_mallocator = NULL;
   }
 }