about summary refs log tree commit diff
path: root/time/lc-time-cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/lc-time-cleanup.c')
-rw-r--r--time/lc-time-cleanup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/time/lc-time-cleanup.c b/time/lc-time-cleanup.c
index f844e04905..bcf6d2fbc9 100644
--- a/time/lc-time-cleanup.c
+++ b/time/lc-time-cleanup.c
@@ -22,10 +22,10 @@
 void
 _nl_cleanup_time (struct __locale_data *locale)
 {
-  struct lc_time_data *const data = locale->private.time;
+  struct lc_time_data *const data = locale->private;
   if (data != NULL)
     {
-      locale->private.time = NULL;
+      locale->private = NULL;
 
       free (data->eras);
       free (data->alt_digits);