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
1 changed files with 0 additions and 1 deletions

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