fix #6193
This commit is contained in:
parent
c167fd8f8f
commit
ee0d0dd33f
@ -62,13 +62,9 @@ TALER_EXCHANGE_free_melt_data_ (struct MeltData *md)
|
|||||||
|
|
||||||
for (unsigned int i = 0; i<TALER_CNC_KAPPA; i++)
|
for (unsigned int i = 0; i<TALER_CNC_KAPPA; i++)
|
||||||
GNUNET_free_non_null (md->fresh_coins[i]);
|
GNUNET_free_non_null (md->fresh_coins[i]);
|
||||||
/* Finally, clean up a bit...
|
/* Finally, clean up a bit... */
|
||||||
(NOTE: compilers might optimize this away, so this is
|
GNUNET_CRYPTO_zero_keys (md,
|
||||||
not providing any strong assurances that the key material
|
sizeof (struct MeltData));
|
||||||
is purged.) */
|
|
||||||
memset (md,
|
|
||||||
0,
|
|
||||||
sizeof (struct MeltData));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user