diff options
Diffstat (limited to 'shadow/fgetspent.c')
-rw-r--r-- | shadow/fgetspent.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/shadow/fgetspent.c b/shadow/fgetspent.c index 66a5452678..78f6bb28f1 100644 --- a/shadow/fgetspent.c +++ b/shadow/fgetspent.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 1999, 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 @@ -92,8 +92,7 @@ fgetspent (FILE *stream) static void __attribute__ ((unused)) free_mem (void) { - if (buffer != NULL) - free (buffer); + free (buffer); } text_set_element (__libc_subfreeres, free_mem); |