EDAC, amd64: Free unused memory when init_one_instance() fails
authorYazen Ghannam <Yazen.Ghannam@amd.com>
Tue, 24 Jan 2017 22:32:24 +0000 (16:32 -0600)
committerBorislav Petkov <bp@suse.de>
Sat, 28 Jan 2017 12:03:40 +0000 (13:03 +0100)
commit2b9b2c465928260f40e2f570c953881bff291bef
tree9977bcb7225597e690e7af504c45faf55d6d7826
parent67d7fd306ef2ef1ba5cdb8ce2dfde1339d4c8136
EDAC, amd64: Free unused memory when init_one_instance() fails

Jump to memory freeing routines when init_one_instance() fails.

Signed-off-by: Yazen Ghannam <Yazen.Ghannam@amd.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1485297149-13733-3-git-send-email-Yazen.Ghannam@amd.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/amd64_edac.c