diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-05-23 10:08:18 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-05-23 11:06:31 +0200 |
commit | bbebe83a2874cd25934046d908824dfc11711a2b (patch) | |
tree | 1e4b6818e4fc8c35996da79471d55048095f7650 /time/lc-time-cleanup.c | |
parent | 0b6342e769be6903f29da067f5cbcbfcc7c01b10 (diff) | |
download | glibc-bbebe83a2874cd25934046d908824dfc11711a2b.tar.gz glibc-bbebe83a2874cd25934046d908824dfc11711a2b.tar.xz glibc-bbebe83a2874cd25934046d908824dfc11711a2b.zip |
locale: Remove cleanup function pointer from struct __localedata
We can call the cleanup functions directly from _nl_unload_locale if we pass the category to it. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'time/lc-time-cleanup.c')
-rw-r--r-- | time/lc-time-cleanup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/time/lc-time-cleanup.c b/time/lc-time-cleanup.c index 2734e25815..f844e04905 100644 --- a/time/lc-time-cleanup.c +++ b/time/lc-time-cleanup.c @@ -26,7 +26,6 @@ _nl_cleanup_time (struct __locale_data *locale) if (data != NULL) { locale->private.time = NULL; - locale->private.cleanup = NULL; free (data->eras); free (data->alt_digits); |