summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorAbdun Nihaal <nihaal@cse.iitm.ac.in>2026-05-14 11:24:37 +0300
committerHelge Deller <deller@gmx.de>2026-06-07 19:25:42 +0300
commit3b0ed04bc852887a9164e1bbf521652e8ef3eb92 (patch)
tree565d823fc0072814d9e94d1a96434ef23eeceee2 /tools/lib/python/kdoc/parse_data_structs.py
parent85f5e38c162bdf9dbbe197275d416402712f3707 (diff)
downloadlinux-3b0ed04bc852887a9164e1bbf521652e8ef3eb92.tar.xz
fbdev: s3fb: fix potential memory leak in s3_pci_probe()
In s3_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: 86c0f043a737 ("s3fb: 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>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions