diff options
| author | Dafna Hirschfeld <[email protected]> | 2019-10-07 10:50:01 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-10-24 19:00:38 -0300 |
| commit | 291aca4e7bdd87a01e21d90382fd0b231b280272 (patch) | |
| tree | ef0553aafb3ef56a73ef32fec1bd99eed20dc737 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 4996992c4f7410e9a43aa3047e8034756cece21a (diff) | |
media: vimc: sen: register subdevice only after initialization
vimc_sen_add function first registers the subdevice and then
calls tpg_alloc. If tpg_alloc fails it unregisters the subdevice
and then frees vsen, this cause double free since the release
callback that follows subdevice unregistration also frees vsen.
Signed-off-by: Dafna Hirschfeld <[email protected]>
Acked-by: Helen Koike <[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