diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-10-27 15:05:44 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-11-07 14:42:34 +0100 |
commit | aba6ab57a910ad4b940c2024d15f2cdbf5b7f76b (patch) | |
tree | f2edd2c5331e27fd1a0988dc7b86c06eab4038ae /tools/perf/scripts/python | |
parent | e08c30efda21ef4c0ec084a3a9581c220b442ba9 (diff) |
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: c75f5a550610 ("fbdev: imsttfb: Fix use after free bug in imsttfb_probe")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions