From a334319f6530564d22e775935d9c91663623a1b4 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 22 Dec 2004 20:10:10 +0000 Subject: (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. --- nss/nss_files/files-alias.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nss/nss_files/files-alias.c') diff --git a/nss/nss_files/files-alias.c b/nss/nss_files/files-alias.c index c4717e1242..8ee54f121f 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,2006 Free Software Foundation, Inc. + Copyright (C) 1996,97,98,99,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 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); - free (old_line); - line = first_unused; + if (old_line != NULL) + free (old_line); if (first_unused[room_left - 1] != '\0') goto no_more_room; -- cgit v1.2.3-70-g09d2