aboutsummaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
Diffstat (limited to 'inet')
-rw-r--r--inet/getnetgrent.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/inet/getnetgrent.c b/inet/getnetgrent.c
index 88b06ff..2f32ec6 100644
--- a/inet/getnetgrent.c
+++ b/inet/getnetgrent.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -56,8 +56,7 @@ static void
__attribute__ ((unused))
free_mem (void)
{
- if (buffer != NULL)
- free (buffer);
+ free (buffer);
}
text_set_element (__libc_subfreeres, free_mem);