aboutsummaryrefslogtreecommitdiff
path: root/locale/findlocale.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/findlocale.c')
-rw-r--r--locale/findlocale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/findlocale.c b/locale/findlocale.c
index b1f9402..162245f 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);