Skip to content

Commit

Permalink
FIX: removed memory dispose pool related debug traces
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Dec 19, 2020
1 parent 851e2f3 commit dbcb3da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/m-pools.c
Original file line number Diff line number Diff line change
Expand Up @@ -965,13 +965,13 @@ const REBPOOLSPEC Mem_Pool_Spec[MAX_POOLS] =
seg = next;
}
}
else {
printf(cs_cast("!!! Mem_Pools[%u] not empty! Has: %u free: %u\n"), n, Mem_Pools[n].has, Mem_Pools[n].free);
}
//else {
// printf(cs_cast("!!! Mem_Pools[%u] not empty! Has: %u free: %u\n"), n, Mem_Pools[n].has, Mem_Pools[n].free);
//}
}
// SYSTEM_POOL contains not system series sizes (big series), at this state it should be empty!
if (Mem_Pools[SYSTEM_POOL].has > 0)
printf(cs_cast("!!! Mem_Pools[SYSTEM_POOL].has: %u\n"), Mem_Pools[SYSTEM_POOL].has);
//if (Mem_Pools[SYSTEM_POOL].has > 0)
// printf(cs_cast("!!! Mem_Pools[SYSTEM_POOL].has: %u\n"), Mem_Pools[SYSTEM_POOL].has);
Free_Mem(Mem_Pools, 0);
Free_Mem(PG_Pool_Map, 0);
}

0 comments on commit dbcb3da

Please sign in to comment.