summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorAbdun Nihaal <nihaal@cse.iitm.ac.in>2026-05-14 11:24:38 +0300
committerHelge Deller <deller@gmx.de>2026-06-07 19:25:42 +0300
commitbb019d755366cc3e777a12d4bf457ff289837370 (patch)
tree8d338ee3cee5a99538098036e213f9638f01c3fb /tools/lib/python/kdoc
parent3b0ed04bc852887a9164e1bbf521652e8ef3eb92 (diff)
downloadlinux-bb019d755366cc3e777a12d4bf457ff289837370.tar.xz
fbdev: tdfxfb: fix potential memory leak in tdfxfb_probe()
In tdfxfb_probe(), the memory allocated for modelist using fb_videomode_to_modelist() when CONFIG_FB_3DFX_I2C is defined, is not freed in the subsequent error paths. Fix that by calling fb_destroy_modelist(). Fixes: 215059d2421f ("tdfxfb: make use of DDC information about connected monitor") 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')
0 files changed, 0 insertions, 0 deletions