]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (asus_atk0110) Fix memory leak
authorLuca Tettamanti <kronos.it@gmail.com>
Sun, 17 Jul 2011 16:39:18 +0000 (18:39 +0200)
committerJean Delvare <khali@endymion.delvare>
Sun, 17 Jul 2011 16:39:18 +0000 (18:39 +0200)
commit0b8e77f12cb6bfe2e5a67f2cdc8c7af23abc4ccf
tree5df41a3dfae9282cf723bd0752c6fd2c9fa6820f
parent1765a367a3b5d5e9692949b0c5ec933eff2c0701
hwmon: (asus_atk0110) Fix memory leak

The object returned by atk_gitm is dynamically allocated and must be
freed.

Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: stable@kernel.org
drivers/hwmon/asus_atk0110.c