]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(_mcleanup): Free tostruct array allocated in monstartup.
authorUlrich Drepper <drepper@redhat.com>
Sun, 25 May 1997 01:24:53 +0000 (01:24 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 25 May 1997 01:24:53 +0000 (01:24 +0000)
gmon/gmon.c

index 7307b0501a71d0bfaa46b8c89e4879d5e8b5f6ff..5eb08b2fb50b2742b9d92a04bb6641fe7c3c4bbd 100644 (file)
@@ -319,4 +319,7 @@ _mcleanup ()
     write_bb_counts (fd);
 
     __close (fd);
+
+    /* free the memory. */
+    free (_gmonparam.tos);
 }