mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 11:34:58 +00:00
In nvidiafb_probe(), the memory allocated for modelist in
nvidia_set_fbinfo() is not freed in the subsequent error paths.
Fix that by calling fb_destroy_modelist().
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Cc: [email protected]
Signed-off-by: Abdun Nihaal <[email protected]>
Signed-off-by: Helge Deller <[email protected]>