提交 09047e75 编写于 作者: V Vasily Averin 提交者: Len Brown

ACPI: fix memory leak in acpi_thermal_add() error path

Signed-off-by: NVasily Averin <vvs@sw.ru>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 64385f2f
......@@ -1342,7 +1342,7 @@ static int acpi_thermal_add(struct acpi_device *device)
result = acpi_thermal_add_fs(device);
if (result)
return_VALUE(result);
goto end;
init_timer(&tz->timer);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册