[PATCH v2] powerpc: fix memory leaks in QE library

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


On Aug 20, 2008, at 10:29 AM, Timur Tabi wrote:

> Fix two memory leaks in the Freescale QE library: add a missing  
> kfree() in
> ucc_fast_init() and ucc_slow_init() if the ioremap() fails, and update
> ucc_fast_free() and ucc_slow_free() to call iounmap() if necessary.
>
> 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 ++++
> arch/powerpc/sysdev/qe_lib/ucc_slow.c |    8 +++++---
> 2 files changed, 9 insertions(+), 3 deletions(-)

applied.  (this just became ucc_slow since I had already applied v1).

- k



More information about the Linuxppc-dev mailing list