Commit 988e5d21 authored by Liu Jian's avatar Liu Jian Committed by Greg Kroah-Hartman
Browse files

ieee802154: fix one possible memleak in adf7242_probe



[ Upstream commit 66673f96 ]

When probe fail, we should destroy the workqueue.

Fixes: 2795e8c2 ("net: ieee802154: fix a potential NULL pointer dereference")
Signed-off-by: default avatarLiu Jian <liujian56@huawei.com>
Acked-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Link: https://lore.kernel.org/r/20200717090121.2143-1-liujian56@huawei.com


Signed-off-by: default avatarStefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7bf93c95
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment