diff options
Diffstat (limited to 'drivers/video/vesafb.c')
-rw-r--r-- | drivers/video/vesafb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c index a99bbe86db13..501b3406c6d5 100644 --- a/drivers/video/vesafb.c +++ b/drivers/video/vesafb.c | |||
@@ -175,6 +175,7 @@ static int vesafb_setcolreg(unsigned regno, unsigned red, unsigned green, | |||
175 | 175 | ||
176 | static void vesafb_destroy(struct fb_info *info) | 176 | static void vesafb_destroy(struct fb_info *info) |
177 | { | 177 | { |
178 | fb_dealloc_cmap(&info->cmap); | ||
178 | if (info->screen_base) | 179 | if (info->screen_base) |
179 | iounmap(info->screen_base); | 180 | iounmap(info->screen_base); |
180 | release_mem_region(info->apertures->ranges[0].base, info->apertures->ranges[0].size); | 181 | release_mem_region(info->apertures->ranges[0].base, info->apertures->ranges[0].size); |