forked from wolfSSL/wolfssl
call mp_clear to match call to mp_init
This commit is contained in:
@ -4249,8 +4249,8 @@ static int mp_div_d (mp_int * a, mp_digit b, mp_int * c, mp_digit * d)
|
|||||||
if (c != NULL) {
|
if (c != NULL) {
|
||||||
mp_clamp(&q);
|
mp_clamp(&q);
|
||||||
mp_exch(&q, c);
|
mp_exch(&q, c);
|
||||||
mp_clear(&q);
|
|
||||||
}
|
}
|
||||||
|
mp_clear(&q);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user