Exemplo n.º 1
0
/* =============================================================================
   Function:		Exit // local //
   Author:		Rammi
   Date:		08/19/1997

   Return:		---
   Parameter:		---

   Purpose:		Function called on exit
   ============================================================================= */
static void Exit(void)
{
#ifdef SILENT
  if (!Global.BlockCount) {
    return;
  }
#endif

  Rmalloc_stat("[atexit]");	/* show statistics */
}
Exemplo n.º 2
0
static void print_stats(const char *pFile_line)
{
    VOGL_ASSERT(g_heap_initialized);
    VOGL_NOTE_UNUSED(pFile_line);

#if VOGL_MALLOC_DEBUGGING
    lock_heap();
    Rmalloc_stat(pFile_line);
    unlock_heap();
#endif
}