mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 02:19:26 +01:00
crypto: fix potential memory leak
This commit is contained in:
parent
8364807938
commit
a8e935ee77
@ -706,6 +706,7 @@ bool hkdf_extract(enum l_checksum_type type, const uint8_t *key,
|
||||
}
|
||||
|
||||
if (!l_checksum_updatev(hmac, iov, num_args)) {
|
||||
l_checksum_free(hmac);
|
||||
va_end(va);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user