aboutsummaryrefslogtreecommitdiff
path: root/crypto/bn/exptest.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bn/exptest.c')
-rw-r--r--crypto/bn/exptest.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/bn/exptest.c b/crypto/bn/exptest.c
index 9e4ae91..d64905d 100644
--- a/crypto/bn/exptest.c
+++ b/crypto/bn/exptest.c
@@ -160,7 +160,15 @@ int main(int argc, char *argv[])
exit(1);
}
}
+ BN_free(r_mont);
+ BN_free(r_recp);
+ BN_free(r_simple);
+ BN_free(a);
+ BN_free(b);
+ BN_free(m);
+ BN_CTX_free(ctx);
CRYPTO_mem_leaks(out);
+ BIO_free(out);
printf(" done\n");
exit(0);
err: