diff options
author | Michael Ellerman <[email protected]> | 2009-10-12 14:29:40 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2009-10-14 16:58:36 +1100 |
commit | aee7a283bb1e7d722f3431e0689c2c281ad0c1f6 (patch) | |
tree | 4a4fdf132e5fd2212276d630c2ef7d3d4d9cef8b /scripts/basic/docproc.c | |
parent | 11a50873ef2b3c1c3fe99a661c22c08f35d93553 (diff) |
powerpc: Fix memory leak in axon_msi.c
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 <[email protected]>
Acked-by: Michael Ellerman <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions