diff options
| author | Qiushi Wu <[email protected]> | 2020-05-28 18:20:46 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2020-05-29 16:07:18 +0000 |
| commit | c343bf1ba5efcbf2266a1fe3baefec9cc82f867f (patch) | |
| tree | b10fa65c8091e69f1a1db3ac191073417021f0fc /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | cpuidle: Convert Qualcomm SPM driver to a generic CPUidle driver (diff) | |
| download | kernel-c343bf1ba5efcbf2266a1fe3baefec9cc82f867f.tar.gz kernel-c343bf1ba5efcbf2266a1fe3baefec9cc82f867f.zip | |
cpuidle: Fix three reference count leaks
kobject_init_and_add() takes reference even when it fails.
If this function returns an error, kobject_put() must be called to
properly clean up the memory associated with the object.
Previous commit "b8eb718348b8" fixed a similar problem.
Signed-off-by: Qiushi Wu <[email protected]>
[ rjw: Subject ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
