From a164874646386e3bba4d0ac17e6e69033396363f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 25 Sep 1999 06:37:46 +0000 Subject: Update. 1999-09-24 Andreas Jaeger * stdio-common/tst-printf.c (main): Add a testcase for large precision. Reported by Tymm Twillman . 1999-09-24 Andreas Schwab * math/bits/mathcalls.h: Fix last change. Also declare __finite. 1999-09-24 Andreas Jaeger * intl/finddomain.c (_nl_find_domain): Fix memory leak: Free normalized_codeset. Reported by Belicky Zsolt . 1999-09-23 Mark Kettenis * 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. --- intl/finddomain.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'intl/finddomain.c') 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; } -- cgit v1.2.3