aboutsummaryrefslogtreecommitdiff
path: root/intl/finddomain.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-09-25 06:37:46 +0000
committerUlrich Drepper <drepper@redhat.com>1999-09-25 06:37:46 +0000
commita164874646386e3bba4d0ac17e6e69033396363f (patch)
treed19a008e4f5d96a8e6c548a81840f7df058de189 /intl/finddomain.c
parent5892e30537dbe58bb80db1f587693b77fc1a4f06 (diff)
downloadglibc-a164874646386e3bba4d0ac17e6e69033396363f.tar
glibc-a164874646386e3bba4d0ac17e6e69033396363f.tar.gz
glibc-a164874646386e3bba4d0ac17e6e69033396363f.tar.bz2
glibc-a164874646386e3bba4d0ac17e6e69033396363f.zip
Update.
1999-09-24 Andreas Jaeger <aj@suse.de> * stdio-common/tst-printf.c (main): Add a testcase for large precision. Reported by Tymm Twillman <tymm@coe.missouri.edu>. 1999-09-24 Andreas Schwab <schwab@suse.de> * math/bits/mathcalls.h: Fix last change. Also declare __finite. 1999-09-24 Andreas Jaeger <aj@suse.de> * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free normalized_codeset. Reported by Belicky Zsolt <zsolt@prolan.hu>. 1999-09-23 Mark Kettenis <kettenis@gnu.org> * sysdeps/unix/sysv/linux/Makefile [malloc] (CFLAGS-malloc.c): New variable. Define MORECORE_CLEARS to 2. * malloc/malloc.c (cALLOc): Correctly handle systems where sbrk doesn't clear the contents of memory that is reallocated after decrementing the break value first. Update comment about MORECORE_CLEARS, explaining the meaning of the values it can be set to.
Diffstat (limited to 'intl/finddomain.c')
-rw-r--r--intl/finddomain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/intl/finddomain.c b/intl/finddomain.c
index a3083b10e2..c6c176ae2b 100644
--- a/intl/finddomain.c
+++ b/intl/finddomain.c
@@ -191,6 +191,10 @@ _nl_find_domain (dirname, locale, domainname)
if (alias_value != NULL)
free (locale);
+ /* The space for normalized_codeset is dynamically allocated. Free it. */
+ if (mask & XPG_NORM_CODESET)
+ free (normalized_codeset);
+
return retval;
}