diff options
author | Christophe JAILLET <[email protected]> | 2023-09-03 18:04:00 +0200 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2023-09-04 11:14:22 +0200 |
commit | e1cd4004cde7c9b694bbdd8def0e02288ee58c74 (patch) | |
tree | e5ea3aa5df5edebefa941f59c47cc589c0619989 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 29aa98d0fe013e2ab62aae4266231b7fb05d47a2 (diff) |
HID: sony: Fix a potential memory leak in sony_probe()
If an error occurs after a successful usb_alloc_urb() call, usb_free_urb()
should be called.
Fixes: fb1a79a6b6e1 ("HID: sony: fix freeze when inserting ghlive ps3/wii dongles")
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions