You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commit 817b8b9 ("HID: elo: fix memory leak in elo_probe") introduced
memory leak on error path, but more importantly the whole USB reference
counting is not needed at all in the first place, as the driver itself
doesn't change the reference counting in any way, and the associated
usb_device is guaranteed to be kept around by USB core as long as the
driver binding exists.
Reported-by: Alan Stern <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Fixes: fbf4272 ("HID: elo: update the reference count of the usb device structure")
Fixes: 817b8b9 ("HID: elo: fix memory leak in elo_probe")
Signed-off-by: Jiri Kosina <[email protected]>
0 commit comments