commit | 09047e75f69428dcfa977b326256085154068b65 | [log] [tgz] |
---|---|---|
author | Vasily Averin <vvs@sw.ru> | Thu Apr 27 05:25:00 2006 -0400 |
committer | Len Brown <len.brown@intel.com> | Sat May 13 23:43:39 2006 -0400 |
tree | d04433b26231bc7932676873f5b40bd4c78ab0e9 | |
parent | 64385f2fd8bc9d8803c8d10dcd391871cb126b77 [diff] [blame] |
ACPI: fix memory leak in acpi_thermal_add() error path Signed-off-by: Vasily Averin <vvs@sw.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index 19f3ea4..82389b17 100644 --- a/drivers/acpi/thermal.c +++ b/drivers/acpi/thermal.c
@@ -1342,7 +1342,7 @@ result = acpi_thermal_add_fs(device); if (result) - return_VALUE(result); + goto end; init_timer(&tz->timer);