diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2025-12-03 06:55:44 +0300 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2025-12-05 13:29:14 +0300 |
| commit | 164312662ae9764b83b84d97afb25c42eb2be473 (patch) | |
| tree | e42e183ffbb82ec7e836673aa9dbf23674b5b92c /scripts/gdb/linux/genpd.py | |
| parent | 93b22a4bf0b4945abc7c45345f2a52fd3098c16c (diff) | |
| download | linux-164312662ae9764b83b84d97afb25c42eb2be473.tar.xz | |
fbdev: ssd1307fb: fix potential page leak in ssd1307fb_probe()
The page allocated for vmem using __get_free_pages() is not freed on the
error paths after it. Fix that by adding a corresponding __free_pages()
call to the error path.
Fixes: facd94bc458a ("fbdev: ssd1307fb: Allocate page aligned video memory.")
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions
