remove useless check, this is a fixed-size array, thus pointer is never NULL

This commit is contained in:
Christian Grothoff 2016-01-18 22:52:47 +01:00
parent 0bdae896e7
commit 1eea4abe07

View File

@ -333,14 +333,11 @@ free_melt_data (struct MeltData *md)
}
for (i=0;i<TALER_CNC_KAPPA;i++)
{
if (NULL != md->fresh_coins)
{
for (j=0;j<md->num_fresh_coins;j++)
free_fresh_coin (&md->fresh_coins[i][j]);
GNUNET_free (md->fresh_coins[i]);
}
}
/* Finally, clean up a bit...
(NOTE: compilers might optimize this away, so this is
not providing any strong assurances that the key material