diff options
| author | 2026-05-14 13:54:33 +0530 | |
|---|---|---|
| committer | 2026-06-07 18:25:42 +0200 | |
| commit | df8c1101c9a08859da612b5d0a08d55d475522c6 (patch) | |
| tree | 85d3c29e8b0522da869379f8b5c793df71f48bf5 /scripts/Makefile.thinlto | |
| parent | fbdev: metronomefb: fix potential memory leak in metronomefb_probe() (diff) | |
fbdev: radeon: fix potential memory leak in radeonfb_pci_register()
The function radeonfb_pci_register() allocates memory for modelist
(by calling radeon_check_modes() which calls fb_add_videomode()).
The memory is appended to info->modelist, but is not freed in subsequent
error paths. Fix this by calling fb_destroy_modelist().
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
