Skip to content
Commit aba6ab57 authored by Dan Carpenter's avatar Dan Carpenter Committed by Helge Deller
Browse files

fbdev: imsttfb: fix a resource leak in probe

I've re-written the error handling but the bug is that if init_imstt()
fails we need to call iounmap(par->cmap_regs).

Fixes: c75f5a55

 ("fbdev: imsttfb: Fix use after free bug in imsttfb_probe")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent e08c30ef
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