Skip to content
Commit 3e9b988e authored by Anisse Astier's avatar Anisse Astier Committed by Len Brown
Browse files

wmi: Free the allocated acpi objects through wmi_get_event_data



These function allocate an acpi object by calling wmi_get_event_data, which
then calls acpi_evaluate_object, and it is not freed afterwards.

And kernel doc is fixed for parameters of wmi_get_event_data.

Signed-off-by: default avatarAnisse Astier <anisse@astier.eu>
Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Acked-by: default avatarCarlos Corbacho <carlos@strangeworlds.co.uk>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent dcbfb815
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment