(free_mem): We can remove NODELETE marked data, just not the C locale data.
authordrepper <drepper>
Tue, 31 Oct 2000 03:03:33 +0000 (03:03 +0000)
committerdrepper <drepper>
Tue, 31 Oct 2000 03:03:33 +0000 (03:03 +0000)
locale/findlocale.c

index b1f9402..162245f 100644 (file)
@@ -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);