Skip to content
Commit 801421eb authored by Julia Lawall's avatar Julia Lawall Committed by Dominik Brodowski
Browse files

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: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent e632cd94
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment