diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-05-25 01:24:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-05-25 01:24:53 +0000 |
commit | 98bec7469cebc4df1fc930267cb4e63ed1c1feed (patch) | |
tree | 4bced08c86bcddcd26779042b689928dbd23b3dd /gmon | |
parent | 4b4a00eb13b7b2a60577f545d4cbdc864fe6faf7 (diff) |
(_mcleanup): Free tostruct array allocated in monstartup.
Diffstat (limited to 'gmon')
-rw-r--r-- | gmon/gmon.c | 3 |
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); } |