summaryrefslogtreecommitdiff
path: root/gmon
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-05-25 01:24:53 +0000
committerUlrich Drepper <drepper@redhat.com>1997-05-25 01:24:53 +0000
commit98bec7469cebc4df1fc930267cb4e63ed1c1feed (patch)
tree4bced08c86bcddcd26779042b689928dbd23b3dd /gmon
parent4b4a00eb13b7b2a60577f545d4cbdc864fe6faf7 (diff)
(_mcleanup): Free tostruct array allocated in monstartup.
Diffstat (limited to 'gmon')
-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);
}