summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel_menlow.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-07-06 19:40:51 +0400
committerMatthew Garrett <mjg@redhat.com>2011-08-05 22:46:11 +0400
commit03f8952cf63b6059e56074be6ed450dc7739cdee (patch)
treefbbd5410b36f457d4446ba77e2cff7fae5da3ff6 /drivers/platform/x86/intel_menlow.c
parent94ee48b9287c5c22c90754a48dbcf80b2df99d5f (diff)
downloadlinux-03f8952cf63b6059e56074be6ed450dc7739cdee.tar.xz
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>
Diffstat (limited to 'drivers/platform/x86/intel_menlow.c')
0 files changed, 0 insertions, 0 deletions