fix memory leak
This commit is contained in:
parent
a58894e6c4
commit
84e9d4fa34
4
crypto.c
4
crypto.c
@ -936,8 +936,8 @@ smc_compute_outcome (struct AuctionData *ad, size_t *buflen)
|
|||||||
|
|
||||||
gcry_mpi_point_release (tmpa);
|
gcry_mpi_point_release (tmpa);
|
||||||
gcry_mpi_point_release (tmpb);
|
gcry_mpi_point_release (tmpb);
|
||||||
smc_free1 (tlta1, ad->n);
|
smc_free1 (tlta1, ad->k);
|
||||||
smc_free1 (tltb1, ad->n);
|
smc_free1 (tltb1, ad->k);
|
||||||
smc_free2 (tlta2, ad->n, ad->k);
|
smc_free2 (tlta2, ad->n, ad->k);
|
||||||
smc_free2 (tltb2, ad->n, ad->k);
|
smc_free2 (tltb2, ad->n, ad->k);
|
||||||
smc_free2 (tlta3, ad->n, ad->k);
|
smc_free2 (tlta3, ad->n, ad->k);
|
||||||
|
Loading…
Reference in New Issue
Block a user