summaryrefslogtreecommitdiff
path: root/gmon
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-03-19 06:43:34 +0000
committerUlrich Drepper <drepper@redhat.com>2008-03-19 06:43:34 +0000
commit72e6cdfa2cd95240439c72705ab28a2eebb7d04e (patch)
treeae830b7817948dc795cc92ec98216c478dde57e3 /gmon
parent* sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead (diff)
downloadglibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar.gz
glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar.bz2
glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.zip
Remove useless "if" before "free".
Diffstat (limited to 'gmon')
-rw-r--r--gmon/gmon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gmon/gmon.c b/gmon/gmon.c
index 1e94aaba5f..8e2eddd0bc 100644
--- a/gmon/gmon.c
+++ b/gmon/gmon.c
@@ -396,6 +396,5 @@ _mcleanup (void)
write_gmon ();
/* free the memory. */
- if (_gmonparam.tos != NULL)
- free (_gmonparam.tos);
+ free (_gmonparam.tos);
}