about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/getsysstats.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/getsysstats.c b/sysdeps/unix/sysv/linux/getsysstats.c
index 9d0137678f..a4113ce661 100644
--- a/sysdeps/unix/sysv/linux/getsysstats.c
+++ b/sysdeps/unix/sysv/linux/getsysstats.c
@@ -283,7 +283,6 @@ weak_alias (__get_avphys_pages, get_avphys_pages)
 static void
 free_mem (void)
 {
-  if (mount_proc != NULL)
-    free (mount_proc);
+  free (mount_proc);
 }
 text_set_element (__libc_subfreeres, free_mem);