* 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
This commit is contained in:
Ulrich Drepper 2000-08-20 04:56:14 +00:00
parent 6145e82330
commit f1ba489ec8
3 changed files with 7 additions and 1 deletions

View File

@ -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>

View File

@ -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);
}
}

View File

@ -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);
}