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:
11a5087
)
powerpc: Fix memory leak in axon_msi.c
author
Michael Ellerman
<michael@ellerman.id.au>
Mon, 12 Oct 2009 14:29:40 +0000
(14:29 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Wed, 14 Oct 2009 05:58:36 +0000
(16:58 +1100)
cppcheck found a memory leak in axon_msi, if dcr_base or dcr_len are zero,
we have already allocated msic, so we should free it in the error path.
Signed-off-by: Eric Sesterhenn <eric.sesterhenn@lsexperts.de>
Acked-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
No differences found