diff options
author | Andreas Jaeger <aj@suse.de> | 2000-07-14 07:42:07 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-07-14 07:42:07 +0000 |
commit | 6b9fecdc46b9a4df5a73735ce80b5bca3cc2baa9 (patch) | |
tree | 97dc488a16352a613756b4934c1cedf3443eb85b /sysdeps | |
parent | 383b654ba194c7a2e1caafa06b0be9e7301aa206 (diff) | |
download | glibc-6b9fecdc46b9a4df5a73735ce80b5bca3cc2baa9.zip glibc-6b9fecdc46b9a4df5a73735ce80b5bca3cc2baa9.tar.gz glibc-6b9fecdc46b9a4df5a73735ce80b5bca3cc2baa9.tar.bz2 |
* sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
patch.
* grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
* inet/getnetgrent.c (free_mem): Likewise.
* misc/mntent.c (free_mem): Likewise.
* nss/getXXbyYY.c (free_mem): Likewise.
* nss/getXXent.c (free_mem): Likewise.
* pwd/fgetpwent.c (free_mem): Likewise.
* shadow/fgetspent.c (free_mem): Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/getsysstats.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/getsysstats.c b/sysdeps/unix/sysv/linux/getsysstats.c index 9d01376..a4113ce 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); |