From a0effa6329b531b6a735fb86e7378a2dfbb5ef09 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Wed, 8 Mar 2017 11:26:16 -0700 Subject: [PATCH] call mp_clear to match call to mp_init --- wolfcrypt/src/integer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/integer.c b/wolfcrypt/src/integer.c index 9c45c7602..10134550e 100644 --- a/wolfcrypt/src/integer.c +++ b/wolfcrypt/src/integer.c @@ -4249,8 +4249,8 @@ static int mp_div_d (mp_int * a, mp_digit b, mp_int * c, mp_digit * d) if (c != NULL) { mp_clamp(&q); mp_exch(&q, c); - mp_clear(&q); } + mp_clear(&q); return res; }