diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-11-20 10:27:48 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-11-20 10:27:48 +0000 |
commit | 9a40233fa0d4c587880f5d3d3f42813ec6e6ae32 (patch) | |
tree | 241b0205b13dd2914bab182e4d3598c3a0569c3e /nss/nss_files/files-alias.c | |
parent | 53a451c64a34f4602b9479aaa8effe149e150a54 (diff) |
Updated to fedora-glibc-20061120T1000cvs/fedora-glibc-2_5_90-7
Diffstat (limited to 'nss/nss_files/files-alias.c')
-rw-r--r-- | nss/nss_files/files-alias.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nss/nss_files/files-alias.c b/nss/nss_files/files-alias.c index 8ee54f121f..c4717e1242 100644 --- a/nss/nss_files/files-alias.c +++ b/nss/nss_files/files-alias.c @@ -1,5 +1,5 @@ /* Mail alias file parser in nss_files module. - Copyright (C) 1996,97,98,99,2002 Free Software Foundation, Inc. + Copyright (C) 1996,97,98,99,2002,2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. @@ -298,8 +298,8 @@ get_next_alias (const char *match, struct aliasent *result, first_unused[room_left - 1] = '\0'; strncpy (first_unused, old_line, room_left); - if (old_line != NULL) - free (old_line); + free (old_line); + line = first_unused; if (first_unused[room_left - 1] != '\0') goto no_more_room; |