diff options
author | 2019-02-13 22:53:29 +0800 | |
---|---|---|
committer | 2019-02-20 17:23:39 -0800 | |
commit | a245b62be3f0274114df49a8b5481be6383b314f (patch) | |
tree | 9a649d393ff30e1a914960905508ca2ae455ef4f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | thermal: tegra: add get_trend ops (diff) | |
download | wireguard-linux-a245b62be3f0274114df49a8b5481be6383b314f.tar.xz wireguard-linux-a245b62be3f0274114df49a8b5481be6383b314f.zip |
thermal/qcom/tsens-common : fix possible object reference leak
of_find_device_by_node() takes a reference to the struct device
when it finds a match via get_device.
We also should make sure to drop the reference to the device
taken by of_find_device_by_node() when returning error.
Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions