about summary refs log tree commit diff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/lc-time.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/locale/lc-time.c b/locale/lc-time.c
index 257e211093..04dff64532 100644
--- a/locale/lc-time.c
+++ b/locale/lc-time.c
@@ -69,11 +69,8 @@ _nl_init_era_entries (void)
 					      _NL_TIME_ERA_NUM_ENTRIES);
       if (new_num_eras == 0)
 	{
-	  if (eras != NULL)
-	    {
-	      free (eras);
-	      eras = NULL;
-	    }
+	  free (eras);
+	  eras = NULL;
 	}
       else
 	{