This is a note to let you know that I've just added the patch titled hwmon: (asus_atk0110) Fix memory leak
to the 2.6.32-longterm tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/longterm/longterm-queue-2.6.32.git;a=summary The filename of the patch is: hwmon-asus_atk0110-fix-memory-leak.patch and it can be found in the queue-2.6.32 subdirectory. If you, or anyone else, feels it should not be added to the 2.6.32 longterm tree, please let <sta...@kernel.org> know about it. >From 0b8e77f12cb6bfe2e5a67f2cdc8c7af23abc4ccf Mon Sep 17 00:00:00 2001 From: Luca Tettamanti <kronos...@gmail.com> Date: Sun, 17 Jul 2011 18:39:18 +0200 Subject: hwmon: (asus_atk0110) Fix memory leak From: Luca Tettamanti <kronos...@gmail.com> commit 0b8e77f12cb6bfe2e5a67f2cdc8c7af23abc4ccf upstream. The object returned by atk_gitm is dynamically allocated and must be freed. Signed-off-by: Luca Tettamanti <kronos...@gmail.com> Signed-off-by: Jean Delvare <kh...@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gre...@suse.de> --- drivers/hwmon/asus_atk0110.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/hwmon/asus_atk0110.c +++ b/drivers/hwmon/asus_atk0110.c @@ -621,6 +621,7 @@ static int atk_read_value(struct atk_sen err = 0; } + ACPI_FREE(ret); return err; } Patches currently in longterm-queue-2.6.32 which might be from kronos...@gmail.com are /home/gregkh/linux/longterm/longterm-queue-2.6.32/queue-2.6.32/hwmon-asus_atk0110-fix-memory-leak.patch _______________________________________________ stable mailing list stable@linux.kernel.org http://linux.kernel.org/mailman/listinfo/stable