about summary refs log tree commit diff
path: root/locale/loadlocale.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-20 04:56:14 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-20 04:56:14 +0000
commitf1ba489ec8c51d416133279bd0ab94116be8038f (patch)
tree5d38816e068a8e2da47d9d78c63aa44277844b5a /locale/loadlocale.c
parent6145e82330790b302fb7cfdbb865843b9022c0e6 (diff)
downloadglibc-f1ba489ec8c51d416133279bd0ab94116be8038f.tar.gz
glibc-f1ba489ec8c51d416133279bd0ab94116be8038f.tar.xz
glibc-f1ba489ec8c51d416133279bd0ab94116be8038f.zip
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
Diffstat (limited to 'locale/loadlocale.c')
-rw-r--r--locale/loadlocale.c1
1 files changed, 1 insertions, 0 deletions
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);
 }