diff options
author | jsing <> | 2018-11-08 21:40:52 +0000 |
---|---|---|
committer | jsing <> | 2018-11-08 21:40:52 +0000 |
commit | 4b9df2c59cccc6c72b638848e3ef94c43f9c2ea2 (patch) | |
tree | ec4bdf769dc1c915a87380b6c46bd0d6065728a9 | |
parent | 68aeecb3d50de0003bf88570d68a2f9631c3c6b3 (diff) | |
download | openbsd-4b9df2c59cccc6c72b638848e3ef94c43f9c2ea2.tar.gz openbsd-4b9df2c59cccc6c72b638848e3ef94c43f9c2ea2.tar.bz2 openbsd-4b9df2c59cccc6c72b638848e3ef94c43f9c2ea2.zip |
Add missing BN_free() calls.
From Ben L <bobsayshilol at live dot co dot uk>.
-rw-r--r-- | src/regress/lib/libcrypto/exp/exptest.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/exp/exptest.c b/src/regress/lib/libcrypto/exp/exptest.c index 9c683464f6..abed6adb70 100644 --- a/src/regress/lib/libcrypto/exp/exptest.c +++ b/src/regress/lib/libcrypto/exp/exptest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: exptest.c,v 1.5 2018/07/17 17:06:49 tb Exp $ */ | 1 | /* $OpenBSD: exptest.c,v 1.6 2018/11/08 21:40:52 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -329,6 +329,8 @@ int main(int argc, char *argv[]) | |||
329 | } | 329 | } |
330 | BN_free(r_mont); | 330 | BN_free(r_mont); |
331 | BN_free(r_mont_const); | 331 | BN_free(r_mont_const); |
332 | BN_free(r_mont_ct); | ||
333 | BN_free(r_mont_nonct); | ||
332 | BN_free(r_recp); | 334 | BN_free(r_recp); |
333 | BN_free(r_simple); | 335 | BN_free(r_simple); |
334 | BN_free(a); | 336 | BN_free(a); |