From: Wen Congyang Date: Fri, 16 Nov 2012 01:06:06 +0000 (+0100) Subject: ACPI / memhotplug: fix memory leak when memory device is unbound from acpi_memhotplug X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~88^2~13^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=386e52b95550db87c93455e3c0efe3cc4543f036;p=pandora-kernel.git 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: Wen Congyang Reviewed-by: Yasuaki Ishimatsu Acked-by: David Rientjes Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed