Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 386e52b9 authored by Wen Congyang's avatar Wen Congyang Committed by Rafael J. Wysocki
Browse files

ACPI / memhotplug: fix memory leak when memory device is unbound from acpi_memhotplug



We allocate memory to store acpi_memory_info, so we should free it before
freeing mem_device.

Signed-off-by: default avatarWen Congyang <wency@cn.fujitsu.com>
Reviewed-by: default avatarYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 315bbae9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment