Added a check in BurnExitMemoryManager to give a warning if it has to free memory

This commit is contained in:
Barry Harris 2011-12-12 09:51:29 +00:00
parent 5df166b9d4
commit 2b70e30ea3
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,9 @@ void BurnExitMemoryManager()
for (INT32 i = 0; i < MAX_MEM_PTR; i++)
{
if (memptr[i] != NULL) {
#if defined FBA_DEBUG
bprintf(PRINT_ERROR, _T("BurnExitMemoryManager had to free mem pointer %i\n"), i);
#endif
free (memptr[i]);
memptr[i] = NULL;
}