summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/efifb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c
index 50fe668c6172..1c7dd5e69352 100644
--- a/drivers/video/efifb.c
+++ b/drivers/video/efifb.c
@@ -288,6 +288,7 @@ static void efifb_destroy(struct fb_info *info)
if (request_mem_succeeded)
release_mem_region(info->apertures->ranges[0].base,
info->apertures->ranges[0].size);
+ fb_dealloc_cmap(&info->cmap);
framebuffer_release(info);
}
OpenPOWER on IntegriCloud