diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-04-18 16:02:02 +0200 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2015-05-30 15:14:39 +0200 |
commit | 801421eb7359f086e2b61d3125830bda7ddf5673 (patch) | |
tree | c1221f26a2665ab3b9f75b862ad221c319a5c7a8 /drivers/gpio/gpio-stp-xway.c | |
parent | pcmcia: replace open-coded ARRAY_SIZE with macro (diff) | |
download | linux-801421eb7359f086e2b61d3125830bda7ddf5673.tar.xz linux-801421eb7359f086e2b61d3125830bda7ddf5673.zip |
drivers/pcmcia/electra_cf.c: add missing iounmap and kfree
cf and cf->mem_base have been allocated at the point of this failure, so
they should be freed before leaving the function.
[linux@dominikbrodowski.net: limit call to device_init_wakeup() to the
same error paths as before]
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/gpio/gpio-stp-xway.c')
0 files changed, 0 insertions, 0 deletions