3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

owe: fix potential double free on error

This commit is contained in:
James Prestwood 2019-10-16 15:29:51 -07:00 committed by Denis Kenzior
parent ab92901252
commit 8bbfa4db49

View File

@ -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;
}