diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-11-21 15:53:53 -0500 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-12-03 17:03:31 -0500 |
commit | 769ea33145b5f4c1f0d07e1d4db0121c4b98f81f (patch) | |
tree | 1404fc1fa476ffe2d520327f440ee6919745b982 /drivers/video | |
parent | f0058b4bb0630f7d1bf10e8fc3f8784af2fc96e1 (diff) |
fbdev/amifb: Fix double free
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/amifb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/amifb.c b/drivers/video/amifb.c index 72454c738144..39d211ad164d 100644 --- a/drivers/video/amifb.c +++ b/drivers/video/amifb.c | |||
@@ -2464,7 +2464,6 @@ static void amifb_deinit(struct platform_device *pdev) | |||
2464 | { | 2464 | { |
2465 | if (fb_info.cmap.len) | 2465 | if (fb_info.cmap.len) |
2466 | fb_dealloc_cmap(&fb_info.cmap); | 2466 | fb_dealloc_cmap(&fb_info.cmap); |
2467 | fb_dealloc_cmap(&fb_info.cmap); | ||
2468 | chipfree(); | 2467 | chipfree(); |
2469 | if (videomemory) | 2468 | if (videomemory) |
2470 | iounmap((void *)videomemory); | 2469 | iounmap((void *)videomemory); |