diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c index 50fe668c617277cccadd5330af318bfb51e9d18b..1c7dd5e69352d0b5ca489b1ef2642d6fc3d9bb0d 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); }