git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89078d5
)
amd64_edac: Fix potential memleak
author
Borislav Petkov
<borislav.petkov@amd.com>
Tue, 29 Mar 2011 16:10:53 +0000
(18:10 +0200)
committer
Borislav Petkov
<borislav.petkov@amd.com>
Tue, 29 Mar 2011 16:19:06 +0000
(18:19 +0200)
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: <stable@kernel.org> # 38.x
Reported-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
No differences found