summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAbdun Nihaal <nihaal@cse.iitm.ac.in>2026-05-14 13:54:33 +0530
committerHelge Deller <deller@gmx.de>2026-06-07 18:25:42 +0200
commitdf8c1101c9a08859da612b5d0a08d55d475522c6 (patch)
tree85d3c29e8b0522da869379f8b5c793df71f48bf5 /scripts/Makefile.thinlto
parent894632b862a39b3fe1cb5de06fbae86225ea64de (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