diff options
-rw-r--r-- | drivers/video/vesafb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c index 2196448396ec..638ee3745401 100644 --- a/drivers/video/vesafb.c +++ b/drivers/video/vesafb.c | |||
@@ -456,6 +456,8 @@ static int __init vesafb_probe(struct platform_device *dev) | |||
456 | info->node, info->fix.id); | 456 | info->node, info->fix.id); |
457 | return 0; | 457 | return 0; |
458 | err: | 458 | err: |
459 | if (info->screen_base) | ||
460 | iounmap(info->screen_base); | ||
459 | framebuffer_release(info); | 461 | framebuffer_release(info); |
460 | release_mem_region(vesafb_fix.smem_start, size_total); | 462 | release_mem_region(vesafb_fix.smem_start, size_total); |
461 | return err; | 463 | return err; |