diff options
| author | Qiushi Wu <wu000273@umn.edu> | 2020-06-14 05:18:29 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-27 10:55:30 +0200 |
| commit | 7ef64ceea0008c17e94a8a2c60c5d6d46f481996 (patch) | |
| tree | 2e790b7d0d64af15b17d019061f6b64550b7b63a /tools/perf/scripts/python/intel-pt-events.py | |
| parent | c47f7c779ef0458a58583f00c9ed71b7f5a4d0a2 (diff) | |
media: exynos4-is: Fix several reference count leaks due to pm_runtime_get_sync
On calling pm_runtime_get_sync() the reference count of the device
is incremented. In case of failure, decrement the
reference count before returning the error.
Signed-off-by: Qiushi Wu <wu000273@umn.edu>
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/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
