Re: [PATCH][next] Bluetooth: kfree tmp rather than an alias to it
- Date: Fri, 11 Aug 2017 21:20:26 +0200
- From: Marcel Holtmann <marcel@xxxxxxxxxxxx>
- Subject: Re: [PATCH][next] 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@xxxxxxxxxxxxx>
> net/bluetooth/selftest.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.