summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2018-11-08 21:40:53 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2018-11-08 21:40:53 +0000
commit13548505ddf843b183cf83e861ed3ac23c8fb655 (patch)
tree994aac895f5a6b92953bb39ca016dbd277528ba8 /regress
parentd2ca6ba99d4d7b483ada3137ce479a36022c016e (diff)
Add missing BN_free() calls.
From Ben L <bobsayshilol at live dot co dot uk>.
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libcrypto/exp/exptest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libcrypto/exp/exptest.c b/regress/lib/libcrypto/exp/exptest.c
index 9c683464f6b..abed6adb70c 100644
--- a/regress/lib/libcrypto/exp/exptest.c
+++ b/regress/lib/libcrypto/exp/exptest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exptest.c,v 1.5 2018/07/17 17:06:49 tb Exp $ */
+/* $OpenBSD: exptest.c,v 1.6 2018/11/08 21:40:52 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -329,6 +329,8 @@ int main(int argc, char *argv[])
}
BN_free(r_mont);
BN_free(r_mont_const);
+ BN_free(r_mont_ct);
+ BN_free(r_mont_nonct);
BN_free(r_recp);
BN_free(r_simple);
BN_free(a);