mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-05-30 21:47:25 +02:00
owe: fix potential double free on error
This commit is contained in:
parent
ab92901252
commit
8bbfa4db49
@ -217,7 +217,6 @@ static bool owe_compute_keys(struct owe_sm *owe, const void *public_key,
|
||||
|
||||
failed:
|
||||
memset(ss_buf, 0, sizeof(ss_buf));
|
||||
l_ecc_scalar_free(shared_secret);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user