aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorJiri Kosina <[email protected]>2023-10-04 21:10:41 +0200
committerJiri Kosina <[email protected]>2023-10-05 12:50:35 +0200
commitb328dd02e19cb9d3b35de4322f5363516a20ac8c (patch)
tree13ceb79f5e1c8e3f70bc23ccc2210580af61409a /lib/test_fortify/write_overflow-strncpy-src.c
parent95ea4d9fd385fe335b989f22d409df079a042b7a (diff)
HID: sony: remove duplicate NULL check before calling usb_free_urb()
usb_free_urb() does the NULL check itself, so there is no need to duplicate it prior to calling. Reported-by: kernel test robot <[email protected]> Fixes: e1cd4004cde7c9 ("HID: sony: Fix a potential memory leak in sony_probe()") 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