mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
hp-wmi: remove double free caused by merge conflict
Commit3e9b988e4e
"wmi: Free the allocated acpi objects through wmi_get_event_data" had the same purpose as commit44ef00e648
"hp-wmi: Fix two memleaks" This should solve this regression: http://bugzilla.kernel.org/show_bug.cgi?id=14890 Signed-off-by: Anisse Astier <anisse@astier.eu> Reported-by: Sedat Dilek <sedat.dilek@googlemail.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
cd6e125c58
commit
c9c041fcb1
@ -393,8 +393,6 @@ static void hp_wmi_notify(u32 value, void *context)
|
||||
} else
|
||||
printk(KERN_INFO "HP WMI: Unknown key pressed - %x\n",
|
||||
eventcode);
|
||||
|
||||
kfree(obj);
|
||||
}
|
||||
|
||||
static int __init hp_wmi_input_setup(void)
|
||||
|
Loading…
Reference in New Issue
Block a user