diff options
Diffstat (limited to 'src/common/malloc.c')
-rw-r--r-- | src/common/malloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/malloc.c b/src/common/malloc.c index 625875b76..244b1114c 100644 --- a/src/common/malloc.c +++ b/src/common/malloc.c @@ -822,8 +822,10 @@ void malloc_final (void) { } void malloc_init (void) { +#ifdef USE_MEMMGR memmgr_usage_bytes_t = 0; memmgr_usage_bytes = 0; +#endif #if defined(DMALLOC) && defined(CYGWIN) // http://dmalloc.com/docs/latest/online/dmalloc_19.html dmalloc_debug_setup(getenv("DMALLOC_OPTIONS")); |