diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-20 04:56:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-20 04:56:14 +0000 |
commit | f1ba489ec8c51d416133279bd0ab94116be8038f (patch) | |
tree | 5d38816e068a8e2da47d9d78c63aa44277844b5a | |
parent | 6145e82330790b302fb7cfdbb865843b9022c0e6 (diff) | |
download | glibc-f1ba489ec8c51d416133279bd0ab94116be8038f.zip glibc-f1ba489ec8c51d416133279bd0ab94116be8038f.tar.gz glibc-f1ba489ec8c51d416133279bd0ab94116be8038f.tar.bz2 |
Update.
* locale/findlocale.c (free_mem): Also free here->filename.
* locale/loadlocale.c (_nl_unload_locale): Also free locale->name.
* malloc/malloc.c (new_heap): Try harder to get an aligned chunk of
-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 1dc4e53..7c77dd8 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 2a7908c..34f7623 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); } |