1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Remove useless "if" before "free".

This commit is contained in:
Ulrich Drepper
2008-03-19 06:43:34 +00:00
parent 354b75277b
commit 72e6cdfa2c
19 changed files with 33 additions and 66 deletions

View File

@ -29,12 +29,9 @@ _nl_cleanup_time (struct locale_data *locale)
locale->private.time = NULL;
locale->private.cleanup = NULL;
if (data->eras != NULL)
free (data->eras);
if (data->alt_digits != NULL)
free (data->alt_digits);
if (data->walt_digits != NULL)
free (data->walt_digits);
free (data->eras);
free (data->alt_digits);
free (data->walt_digits);
free (data);
}