From: Axel Lin Date: Wed, 6 Jul 2011 15:40:51 +0000 (+0800) Subject: platform-drivers-x86: intel_mid_thermal: fix memory leak X-Git-Tag: v3.1-rc1~14^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f8952cf63b6059e56074be6ed450dc7739cdee;p=pandora-kernel.git 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 Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed