[Patch] powerpc: Fix memory leak in axon_msi.c
Arnd Bergmann
arnd at arndb.de
Wed Oct 14 00:30:56 EST 2009
On Tuesday 13 October 2009, Michael Ellerman wrote:
> 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 at lsexperts.de>
> Acked-by: Michael Ellerman <michael at ellerman.id.au>
Acked-by: Arnd Bergmann <arnd at arndb.de>
More information about the Linuxppc-dev
mailing list