]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
amd64_edac: fix driver instance freeing
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 21 Dec 2009 14:15:59 +0000 (15:15 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 24 Dec 2009 10:07:07 +0000 (11:07 +0100)
commit8f68ed9728193b1f2fb53ba06031b06bd8b3d1b4
tree6418a0127d83f54c8ff4593c1be08952760450e9
parent603adaf6b3e37450235f0ddb5986b961b3146a79
amd64_edac: fix driver instance freeing

Fix use-after-free errors by pushing all memory-freeing calls to the end
of amd64_remove_one_instance().

Reported-by: Darren Jenkins <darrenrjenkins@gmail.com>
LKML-Reference: <1261370306.11354.52.camel@ICE-BOX>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c