summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gmon/gmon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gmon/gmon.c b/gmon/gmon.c
index 7307b0501a..5eb08b2fb5 100644
--- a/gmon/gmon.c
+++ b/gmon/gmon.c
@@ -319,4 +319,7 @@ _mcleanup ()
write_bb_counts (fd);
__close (fd);
+
+ /* free the memory. */
+ free (_gmonparam.tos);
}