summaryrefslogtreecommitdiff
path: root/libc/gmon/gmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/gmon/gmon.c')
-rw-r--r--libc/gmon/gmon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/gmon/gmon.c b/libc/gmon/gmon.c
index 1e94aaba5..8e2eddd0b 100644
--- a/libc/gmon/gmon.c
+++ b/libc/gmon/gmon.c
@@ -396,6 +396,5 @@ _mcleanup (void)
write_gmon ();
/* free the memory. */
- if (_gmonparam.tos != NULL)
- free (_gmonparam.tos);
+ free (_gmonparam.tos);
}