diff options
author | Timur Tabi <timur@freescale.com> | 2008-08-20 10:29:09 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-08-20 23:58:12 -0500 |
commit | 61a4e9e91dd3916ef91aa4899b7271bba0248677 (patch) | |
tree | f5efdda2417abec232276f011c4fb422959994e6 /arch/powerpc/sysdev/cpm_common.c | |
parent | d27a736c7a62c3451e389aa8e0dfc64dab119b9b (diff) | |
download | linux-61a4e9e91dd3916ef91aa4899b7271bba0248677.tar.gz linux-61a4e9e91dd3916ef91aa4899b7271bba0248677.tar.bz2 linux-61a4e9e91dd3916ef91aa4899b7271bba0248677.zip |
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>
Diffstat (limited to 'arch/powerpc/sysdev/cpm_common.c')
0 files changed, 0 insertions, 0 deletions