diff options
-rw-r--r-- | locale/lc-time.c | 7 |
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 { |