diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | locale/findlocale.c | 1 | ||||
-rw-r--r-- | locale/loadlocale.c | 1 |
3 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2000-08-19 Ulrich Drepper <drepper@redhat.com> + * locale/findlocale.c (free_mem): Also free here->filename. + + * locale/loadlocale.c (_nl_unload_locale): Also free locale->name. + * math/test-fenv.c (feenv_tests): Clear all exceptions before first test. (feexcp_nomask_test): Correct printf args. @@ -14,7 +18,7 @@ 2000-08-19 Wolfram Gloger <wg@malloc.de> - * malloc/malloc.c (new_heap): try harder to get an aligned chunk of + * malloc/malloc.c (new_heap): Try harder to get an aligned chunk of size HEAP_MAX_SIZE. 2000-08-19 Andreas Jaeger <aj@suse.de> diff --git a/locale/findlocale.c b/locale/findlocale.c index 1dc4e53e9e..7c77dd8e5e 100644 --- a/locale/findlocale.c +++ b/locale/findlocale.c @@ -258,6 +258,7 @@ free_mem (void) if (data != NULL && data->usage_count != UNDELETABLE) _nl_unload_locale (data); runp = runp->next; + free (here->filename); free (here); } } diff --git a/locale/loadlocale.c b/locale/loadlocale.c index 2a7908c328..34f762388f 100644 --- a/locale/loadlocale.c +++ b/locale/loadlocale.c @@ -240,5 +240,6 @@ _nl_unload_locale (struct locale_data *locale) free ((void *) locale->filedata); free ((char *) locale->options); + free ((char *) locale->name); free (locale); } |