]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: kfree tmp rather than an alias to it
authorColin Ian King <colin.king@canonical.com>
Fri, 11 Aug 2017 18:33:04 +0000 (19:33 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Aug 2017 19:19:46 +0000 (21:19 +0200)
commit87f33929126e65e827f5960bbe0b534e17fa1730
tree147878acfad5cc4d9158b4c84885fab063e6fc77
parent23159c4dc9d08fe3654987e5d3fb6681764c596f
Bluetooth: kfree tmp rather than an alias to it

While the kfree of dhkey_a is of the same address of tmp, it
probably is clearer and more human readable if tmp is kfree'd
rather than dhkey_a.

Detected by CoverityScan, CID#1448650 ("Free of address-of expression")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/selftest.c