diff options
Diffstat (limited to 'util/logger.c')
-rw-r--r-- | util/logger.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/logger.c b/util/logger.c index 2355b6267..04dac2ce6 100644 --- a/util/logger.c +++ b/util/logger.c @@ -111,6 +111,7 @@ log_fatal( const char *fmt, ... ) va_start( arg_ptr, fmt ) ; vfprintf(stderr,fmt,arg_ptr) ; va_end(arg_ptr); + secmem_dump_stats(); exit(2); } @@ -124,6 +125,7 @@ log_bug( const char *fmt, ... ) vfprintf(stderr,fmt,arg_ptr) ; va_end(arg_ptr); fflush(stderr); + secmem_dump_stats(); abort(); } |