From 6b9fecdc46b9a4df5a73735ce80b5bca3cc2baa9 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 14 Jul 2000 07:42:07 +0000 Subject: * 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. --- misc/mntent.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'misc/mntent.c') diff --git a/misc/mntent.c b/misc/mntent.c index b21f24e..41267d7 100644 --- a/misc/mntent.c +++ b/misc/mntent.c @@ -1,5 +1,5 @@ /* Utilities for reading/writing fstab, mtab, etc. - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -60,8 +60,7 @@ static void __attribute__ ((unused)) free_mem (void) { - if (getmntent_buffer != NULL) - free (getmntent_buffer); + free (getmntent_buffer); } text_set_element (__libc_subfreeres, free_mem); -- cgit v1.1