[PATCH] powerpc: fix memory leaks in QE library

Kumar Gala galak at kernel.crashing.org
Thu Aug 21 14:24:50 EST 2008


On Aug 18, 2008, at 4:12 PM, Timur Tabi wrote:

> Fix two memory leaks in the Freescale QE library: add a missing  
> kfree() in
> ucc_fast_init() if the ioremap() fails, and update ucc_fast_free()  
> to call
> iounmap() on uf_regs.
>
> Based on a patch from Tony Breeds <tony at bakeyournoodle.com>.
>
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> arch/powerpc/sysdev/qe_lib/ucc_fast.c |    4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)

applied.

- k



More information about the Linuxppc-dev mailing list