aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPavel Skripkin <[email protected]>2021-04-21 21:43:45 +0200
committerMauro Carvalho Chehab <[email protected]>2021-05-19 09:51:39 +0200
commitbe8656e62e9e791837b606a027802b504a945c97 (patch)
treeebdef2bdb367e675d07ada89108be1aac4bd9909 /tools/perf/scripts/python/export-to-sqlite.py
parent27ba44270b5ea3d6ec71e148051becffb51d2324 (diff)
media: cpia2: fix memory leak in cpia2_usb_probe
syzbot reported leak in cpia2 usb driver. The problem was in invalid error handling. v4l2_device_register() is called in cpia2_init_camera_struct(), but all error cases after cpia2_init_camera_struct() did not call the v4l2_device_unregister() Reported-by: [email protected] Signed-off-by: Pavel Skripkin <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions