projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bash-4.3 distribution sources and documentation
[platform/upstream/bash.git]
/
lib
/
intl
/
localealias.c
diff --git
a/lib/intl/localealias.c
b/lib/intl/localealias.c
index
d99a48d
..
0d5ded7
100644
(file)
--- a/
lib/intl/localealias.c
+++ b/
lib/intl/localealias.c
@@
-305,7
+305,10
@@
read_alias_file (fname, fname_len)
if (nmap >= maxmap)
if (__builtin_expect (extend_alias_table (), 0))
- return added;
+ {
+ fclose (fp);
+ return added;
+ }
alias_len = strlen (alias) + 1;
value_len = strlen (value) + 1;