mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
HID: sony: Fix a potential memory leak in sony_probe()
[ Upstream commite1cd4004cd] If an error occurs after a successful usb_alloc_urb() call, usb_free_urb() should be called. Fixes:fb1a79a6b6("HID: sony: fix freeze when inserting ghlive ps3/wii dongles") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
6e3ae2927b
commit
f237b17611
1 changed files with 3 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue