diff options
| author | Igor Matheus Andrade Torrente <[email protected]> | 2021-05-04 20:32:49 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-06-02 13:04:31 +0200 |
| commit | ac5688637144644f06ed1f3c6d4dd8bb7db96020 (patch) | |
| tree | d7a5695a1bedaf4de26bcff2141f6738d418e02b /tools/perf/scripts/python/stackcollapse.py | |
| parent | a3a54bf4bddaecda8b5767209cfc703f0be2841d (diff) | |
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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions