Skip to content

Commit

Permalink
Debug|MemoryZone: Log a debug message when free'ing memory blocks in …
Browse files Browse the repository at this point in the history
…Z_FreeTags()
  • Loading branch information
danij-deng committed Jun 19, 2013
1 parent f5e657a commit 1ac4221
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doomsday/libdeng1/src/memoryzone.c
Expand Up @@ -676,6 +676,10 @@ void Z_FreeTags(int lowTag, int highTag)
memvolume_t *volume;
memblock_t *block, *next;

LogBuffer_Printf(DE2_LOG_DEBUG,
"MemoryZone: Free'ing all blocks in tag range:[%i, %i)\n",
lowTag, highTag+1);

for(volume = volumeRoot; volume; volume = volume->next)
{
for(block = volume->zone->blockList.next;
Expand Down

0 comments on commit 1ac4221

Please sign in to comment.