Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HID: sony: Fix a potential memory leak in sony_probe()
[ Upstream commit e1cd400 ] If an error occurs after a successful usb_alloc_urb() call, usb_free_urb() should be called. Fixes: fb1a79a ("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>
- Loading branch information