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.39-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.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.39 subdirectory.

If you, or anyone else, feels it should not be added to the stable 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
@@ -673,6 +673,7 @@ static int atk_debugfs_gitm_get(void *p,
        else
                err = -EIO;
 
+       ACPI_FREE(ret);
        return err;
 }
 


Patches currently in stable-queue which might be from kronos...@gmail.com are

queue-2.6.39/hwmon-asus_atk0110-fix-memory-leak.patch

_______________________________________________
stable mailing list
stable@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to