diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-03-07 06:56:11 +0100 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2011-03-17 16:06:29 +0100 |
commit | 5898eb79fb45d4fd4ce22139c168de937bfaab38 (patch) | |
tree | 2ee16f59af3868349c3e35a47f7035ef481c6a8c /arch/arm/mach-pxa/mainstone.c | |
parent | ARM: pxa/am200epd: fix leak in am200_init_gpio_regs error path (diff) | |
download | linux-5898eb79fb45d4fd4ce22139c168de937bfaab38.tar.xz linux-5898eb79fb45d4fd4ce22139c168de937bfaab38.zip |
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