summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api/pm
diff options
context:
space:
mode:
authorQiushi Wu <wu000273@umn.edu>2020-05-28 13:20:46 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-05-29 18:07:18 +0200
commitc343bf1ba5efcbf2266a1fe3baefec9cc82f867f (patch)
treeb10fa65c8091e69f1a1db3ac191073417021f0fc /Documentation/driver-api/pm
parenta871be6b8eee13a35a3e8e56c62770ef17ee9220 (diff)
downloadlinux-stable-c343bf1ba5efcbf2266a1fe3baefec9cc82f867f.tar.gz
linux-stable-c343bf1ba5efcbf2266a1fe3baefec9cc82f867f.tar.bz2
linux-stable-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 <wu000273@umn.edu> [ rjw: Subject ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/driver-api/pm')
0 files changed, 0 insertions, 0 deletions