diff options
Diffstat (limited to 'locale/findlocale.c')
-rw-r--r-- | locale/findlocale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/findlocale.c b/locale/findlocale.c index b1f940231f..162245f137 100644 --- a/locale/findlocale.c +++ b/locale/findlocale.c @@ -253,7 +253,7 @@ free_mem (void) struct loaded_l10nfile *here = runp; struct locale_data *data = (struct locale_data *) runp->data; - if (data != NULL && data->usage_count != UNDELETABLE) + if (data != NULL && data != _nl_C[category]) _nl_unload_locale (data); runp = runp->next; free ((char *) here->filename); |