diff options
author | Liu Jian <liujian56@huawei.com> | 2020-07-17 12:01:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-29 11:18:32 +0300 |
commit | 988e5d2179e4e38e92b9c593845a711c8917f4b7 (patch) | |
tree | 6891ec0b2d9169886546b5ff579472886efb3c94 /crypto/crypto_user_base.c | |
parent | 7bf93c95a9b99427c032946750e89dca39575240 (diff) | |
download | linux-988e5d2179e4e38e92b9c593845a711c8917f4b7.tar.xz |
ieee802154: fix one possible memleak in adf7242_probe
[ Upstream commit 66673f96f0f968b991dc38be06102246919c663c ]
When probe fail, we should destroy the workqueue.
Fixes: 2795e8c25161 ("net: ieee802154: fix a potential NULL pointer dereference")
Signed-off-by: Liu Jian <liujian56@huawei.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Link: https://lore.kernel.org/r/20200717090121.2143-1-liujian56@huawei.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto/crypto_user_base.c')
0 files changed, 0 insertions, 0 deletions