5a8907306ee82 parent 89078d572eb9ce8d4c04264b8b0ba86de0d74c8f author Borislav Petkov 1301415053 +0200 committer Borislav Petkov 1301415546 +0200 amd64_edac: Fix potential memleak We check the pointers together but at least one of them could be invalid due to failed allocation. Since we cannot continue if either of the two allocations has failed, exit early by freeing them both. Cc: # 38.x Reported-by: Mauro Carvalho Chehab Signed-off-by: Borislav Petkov !åÍè’Px