diff options
author | 2023-10-27 15:05:44 +0300 | |
---|---|---|
committer | 2023-11-07 14:42:34 +0100 | |
commit | aba6ab57a910ad4b940c2024d15f2cdbf5b7f76b (patch) | |
tree | f2edd2c5331e27fd1a0988dc7b86c06eab4038ae /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fbdev: imsttfb: fix double free in probe() (diff) | |
download | wireguard-linux-aba6ab57a910ad4b940c2024d15f2cdbf5b7f76b.tar.xz wireguard-linux-aba6ab57a910ad4b940c2024d15f2cdbf5b7f76b.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions