aboutsummaryrefslogtreecommitdiffstats
path: root/g10/g10.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/g10.c')
-rw-r--r--g10/g10.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/g10.c b/g10/g10.c
index 66a91bf94..48774ebd1 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -1326,8 +1326,10 @@ main( int argc, char **argv )
void
g10_exit( int rc )
{
- if( opt.debug & DBG_MEMSTAT_VALUE )
+ if( opt.debug & DBG_MEMSTAT_VALUE ) {
m_print_stats("on exit");
+ random_dump_stats();
+ }
if( opt.debug )
secmem_dump_stats();
secmem_term();