diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-12-27 14:48:14 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-12-27 14:48:14 +0000 |
commit | 64cd3e83c9993f3c1a3c24ea3030a22ccf35e12d (patch) | |
tree | 8808fad08bb8677b0e0d2158c65096eae5484767 /intl | |
parent | e3173d2c996d8e30dfe44e9bf530881da6df6aaa (diff) | |
download | glibc-64cd3e83c9993f3c1a3c24ea3030a22ccf35e12d.tar.gz glibc-64cd3e83c9993f3c1a3c24ea3030a22ccf35e12d.tar.xz glibc-64cd3e83c9993f3c1a3c24ea3030a22ccf35e12d.zip |
Updated to fedora-glibc-20051227T1426
Diffstat (limited to 'intl')
-rw-r--r-- | intl/l10nflist.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/intl/l10nflist.c b/intl/l10nflist.c index 7ffb4ab590..2c06a91113 100644 --- a/intl/l10nflist.c +++ b/intl/l10nflist.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-2002, 2004 Free Software Foundation, Inc. +/* Copyright (C) 1995-2002, 2004, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. @@ -270,7 +270,10 @@ _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language, * (1 << pop (mask)) * sizeof (struct loaded_l10nfile *))); if (retval == NULL) - return NULL; + { + free (abs_filename); + return NULL; + } retval->filename = abs_filename; /* If more than one directory is in the list this is a pseudo-entry |