diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-03-07 13:56:11 +0800 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2011-03-17 23:06:29 +0800 |
commit | 5898eb79fb45d4fd4ce22139c168de937bfaab38 (patch) | |
tree | 2ee16f59af3868349c3e35a47f7035ef481c6a8c /arch/arm/mach-pxa/mainstone.c | |
parent | 8aad172e6c54c74b1effe88ded2f308db3e1b658 (diff) | |
download | op-kernel-dev-5898eb79fb45d4fd4ce22139c168de937bfaab38.zip op-kernel-dev-5898eb79fb45d4fd4ce22139c168de937bfaab38.tar.gz |
ARM: pxa/am300epd: fix leak in am300_init_gpio_regs error path
If gpio_request fails when i > 0, gpios[0] is not freed in current
implementation.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/mainstone.c')
0 files changed, 0 insertions, 0 deletions