mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Fixed resource leak.
This commit is contained in:
@ -15167,6 +15167,7 @@ int DecodeECC_DSA_Sig(const byte* sig, word32 sigLen, mp_int* r, mp_int* s)
|
||||
}
|
||||
|
||||
if (GetInt(s, sig, &idx, sigLen) < 0) {
|
||||
mp_clear(r);
|
||||
return ASN_ECC_KEY_E;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user