about summary refs log tree commit diff
path: root/locale/findlocale.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/findlocale.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/findlocale.c')
-rw-r--r--locale/findlocale.c1
1 files changed, 1 insertions, 0 deletions
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);
 	  }
       }