Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1709928
| From | Marcel Holtmann <marcel@holtmann.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH][next] Bluetooth: kfree tmp rather than an alias to it |
| Date | 2017-08-11 21:30 +0200 |
| Message-ID | <udnN7-7vf-7@gated-at.bofh.it> (permalink) |
| References | <udn0L-6Yw-65@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Colin,
> 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>
> ---
> net/bluetooth/selftest.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH][next] Bluetooth: kfree tmp rather than an alias to it Colin King <colin.king@canonical.com> - 2017-08-11 20:40 +0200 Re: [PATCH][next] Bluetooth: kfree tmp rather than an alias to it Marcel Holtmann <marcel@holtmann.org> - 2017-08-11 21:30 +0200
csiph-web