]> git.karo-electronics.de Git - karo-tx-linux.git/commit
msi-wmi: Fix memory leak
authorMaxim Mikityanskiy <maxtram95@gmail.com>
Sat, 15 Dec 2012 17:31:31 +0000 (19:31 +0200)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 26 Dec 2012 15:06:34 +0000 (10:06 -0500)
commit354c7caa7135f9f9a54c5ec3be7908415148df9d
tree8cd20debd86cf4d84e612562e336574852233d36
parentee997fddd2c526e4c25e192807b7fce8d2315386
msi-wmi: Fix memory leak

Fix memory leak - don't forget to kfree ACPI object when returning from
msi_wmi_notify() after suppressing key event.

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Acked-by: Anisse Astier <anisse@astier.eu>
Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/msi-wmi.c