diff options
| author | Alexey Khoroshilov <[email protected]> | 2013-08-05 17:16:37 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2013-08-21 05:18:31 -0300 |
| commit | b563a0d049143a98411b6a45745186daf443d587 (patch) | |
| tree | cc88fa5a053f842101d0afb855e630fee1f43a4b /tools/perf/scripts/python | |
| parent | 6c94e14e7f802011afc1018fc8529e66f40866b9 (diff) | |
[media] gspca: fix dev_open() error path
If v4l2_fh_open() fails in dev_open(), gspca_dev->module left locked.
The patch adds module_put(gspca_dev->module) on this path.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions