diff options
| author | Dan Carpenter <[email protected]> | 2017-09-22 09:48:41 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-12-08 10:06:46 -0500 |
| commit | 6e298d58473520a806d59b7aa51dcb194d1a1b03 (patch) | |
| tree | 6a76dff03c1d938926aa62a7e9b65a7ce324ea38 /tools/perf/scripts/python | |
| parent | c0f71bbb810237a38734607ca4599632f7f5d47f (diff) | |
media: stk-webcam: Fix use after free on disconnect
We free the stk_camera device too early. It's allocate first in probe
and it should be freed last in stk_camera_disconnect().
Reported-by: Andrey Konovalov <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions