acpi_thermal_write_trip_points() and acpi_thermal_add() do not call kfree() for allocated memory on the error path. Signed-off-by: Vasily Averin Thank you, Vasily Averin SWsoft Virtuozzo/OpenVZ Linux kernel team