aboutsummaryrefslogtreecommitdiff
path: root/locale/loadlocale.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/loadlocale.c')
-rw-r--r--locale/loadlocale.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/locale/loadlocale.c b/locale/loadlocale.c
index 36ce5f4076..54336c4c49 100644
--- a/locale/loadlocale.c
+++ b/locale/loadlocale.c
@@ -234,8 +234,6 @@ _nl_unload_locale (struct locale_data *locale)
#endif
free ((void *) locale->filedata);
- if (locale->options != NULL)
- free (locale->options);
-
+ free (locale->options);
free (locale);
}