linux/drivers/video/fbdev/aty
Abdun Nihaal df8c1101c9 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: 1da177e4c3 ("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>
2026-06-07 18:25:42 +02:00
..
ati_ids.h
aty128fb.c fbdev: Consistently define pci_device_ids using named initializers 2026-06-07 18:25:41 +02:00
atyfb_base.c fbdev: atyfb: Remove unused fb_list 2026-03-31 16:39:47 +02:00
atyfb.h
mach64_accel.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
mach64_ct.c
mach64_cursor.c fbdev: mach64_cursor: Remove fb_draw.h includes 2025-03-26 22:39:20 +01:00
mach64_gx.c
Makefile
radeon_accel.c
radeon_backlight.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
radeon_base.c fbdev: radeon: fix potential memory leak in radeonfb_pci_register() 2026-06-07 18:25:42 +02:00
radeon_i2c.c
radeon_monitor.c fbdev: atyfb: Fix spelling mistake "enfore" -> "enforce" 2026-04-22 15:55:48 +02:00
radeon_pm.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
radeonfb.h