Files
linux-stable-mirror/drivers
Abdun Nihaal 8d16e5bc78 fbdev: tridentfb: fix potential memory leak in trident_pci_probe()
commit 7a35ec619d upstream.

In trident_pci_probe(), the memory allocated for modelist using
fb_videomode_to_modelist() is not freed in subsequent error paths.
Fix that by calling fb_destroy_modelist().

Fixes: 6a5e3bd0c8 ("tridentfb: Add DDC support")
Cc: stable@vger.kernel.org
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-07-24 16:03:31 +02:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-06-19 13:39:27 +02:00
…
2026-07-24 16:03:29 +02:00
…
…
…
…
…
…
…
…
…
…
…
…