commit | 61a4e9e91dd3916ef91aa4899b7271bba0248677 | [log] [tgz] |
---|---|---|
author | Timur Tabi <timur@freescale.com> | Wed Aug 20 10:29:09 2008 -0500 |
committer | Kumar Gala <galak@kernel.crashing.org> | Wed Aug 20 23:58:12 2008 -0500 |
tree | f5efdda2417abec232276f011c4fb422959994e6 | |
parent | d27a736c7a62c3451e389aa8e0dfc64dab119b9b [diff] |
powerpc: fix memory leaks in QE library 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@bakeyournoodle.com>. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>