summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorIgor Matheus Andrade Torrente <igormtorrente@gmail.com>2021-05-04 21:32:49 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-06-02 14:04:31 +0300
commitac5688637144644f06ed1f3c6d4dd8bb7db96020 (patch)
treed7a5695a1bedaf4de26bcff2141f6738d418e02b /tools/perf/scripts/python/exported-sql-viewer.py
parenta3a54bf4bddaecda8b5767209cfc703f0be2841d (diff)
downloadlinux-ac5688637144644f06ed1f3c6d4dd8bb7db96020.tar.xz
media: em28xx: Fix possible memory leak of em28xx struct
The em28xx struct kref isn't being decreased after an error in the em28xx_ir_init, leading to a possible memory leak. A kref_put and em28xx_shutdown_buttons is added to the error handler code. Signed-off-by: Igor Matheus Andrade Torrente <igormtorrente@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions