commit | 03f8952cf63b6059e56074be6ed450dc7739cdee | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Wed Jul 06 23:40:51 2011 +0800 |
committer | Matthew Garrett <mjg@redhat.com> | Fri Aug 05 14:46:11 2011 -0400 |
tree | fbbd5410b36f457d4446ba77e2cff7fae5da3ff6 | |
parent | 94ee48b9287c5c22c90754a48dbcf80b2df99d5f [diff] |
platform-drivers-x86: intel_mid_thermal: fix memory leak The memory for td_info which is allocated in initialize_sensor() should be properly kfreed in mid_thermal_probe() error patch and mid_thermal_remove(). Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>