diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2026-05-14 11:24:34 +0300 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-06-07 19:25:42 +0300 |
| commit | 6fcca16a2b19c37f60693c56cbc0c923364ff3ef (patch) | |
| tree | de7c459d4637e5fe3378fd29d8bad8b631c40c10 /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | df8c1101c9a08859da612b5d0a08d55d475522c6 (diff) | |
| download | linux-6fcca16a2b19c37f60693c56cbc0c923364ff3ef.tar.xz | |
fbdev: carminefb: fix potential memory leak in alloc_carmine_fb()
The memory allocated for modelist in fb_videomode_to_modelist() is not
freed in the subsequent error path.
Fix that by calling fb_destroy_modelist()
Fixes: 2ece5f43b041 ("fbdev: add the carmine FB driver")
Cc: stable@vger.kernel.org
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
