From: Ulrich Drepper Date: Sun, 25 May 1997 01:24:53 +0000 (+0000) Subject: (_mcleanup): Free tostruct array allocated in monstartup. X-Git-Tag: cvs/libc-2_0_4~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98bec7469cebc4df1fc930267cb4e63ed1c1feed;p=thirdparty%2Fglibc.git (_mcleanup): Free tostruct array allocated in monstartup. --- diff --git a/gmon/gmon.c b/gmon/gmon.c index 7307b0501a7..5eb08b2fb50 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); }