mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02: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:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| nv_accel.c | ||
| nv_backlight.c | ||
| nv_dma.h | ||
| nv_hw.c | ||
| nv_i2c.c | ||
| nv_local.h | ||
| nv_of.c | ||
| nv_proto.h | ||
| nv_setup.c | ||
| nv_type.h | ||
| nvidia.c | ||