about summary refs log tree commit diff
path: root/locale/lc-time.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-20 06:10:09 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-20 06:10:09 +0000
commit9b02e86850d536a25a40fcf3bc3b8b1fff5f707b (patch)
tree22b0a7325d9d147035e49e5125d2ece3ffe5ee80 /locale/lc-time.c
parentf1ba489ec8c51d416133279bd0ab94116be8038f (diff)
downloadglibc-9b02e86850d536a25a40fcf3bc3b8b1fff5f707b.tar.gz
glibc-9b02e86850d536a25a40fcf3bc3b8b1fff5f707b.tar.xz
glibc-9b02e86850d536a25a40fcf3bc3b8b1fff5f707b.zip
Update.
	* locale/lc-time.c (free_mem): New function.  Free alt_digits and
	walt_digits.
Diffstat (limited to 'locale/lc-time.c')
-rw-r--r--locale/lc-time.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/locale/lc-time.c b/locale/lc-time.c
index 04dff64532..1e76e10c76 100644
--- a/locale/lc-time.c
+++ b/locale/lc-time.c
@@ -248,3 +248,12 @@ _nl_get_walt_digit (unsigned int number)
 
   return (wchar_t *) result;
 }
+
+
+static void
+free_mem (void)
+{
+  free (alt_digits);
+  free (walt_digits);
+}
+text_set_element (__libc_subfreeres, free_mem);