summaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorEvgeny Novikov <novikov@ispras.ru>2020-07-21 23:15:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-21 10:52:59 +0200
commitd2685958d1407cae838bfcc587fb7c7317dcf79f (patch)
tree66f67544f5762dc64e1ad8c1397002eb39a72572 /lib/dynamic_debug.c
parent0c6464954dbac7108d498877b6fc998a4f8e4b66 (diff)
usb: gadget: net2280: fix memory leak on probe error handling paths
[ Upstream commit 2468c877da428ebfd701142c4cdfefcfb7d4c00e ] Driver does not release memory for device on error handling paths in net2280_probe() when gadget_release() is not registered yet. The patch fixes the bug like in other similar drivers. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Evgeny Novikov <novikov@ispras.ru> Signed-off-by: Felipe Balbi <balbi@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions