Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 20 Aug 2000 04:56:14 +0000 (04:56 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 20 Aug 2000 04:56:14 +0000 (04:56 +0000)
* 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

ChangeLog
locale/findlocale.c
locale/loadlocale.c

index 8049735..e36ed78 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
index 1dc4e53..7c77dd8 100644 (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);
          }
       }
index 2a7908c..34f7623 100644 (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);
 }