Skip to content

Commit

Permalink
fbdev/amifb: Fix double free
Browse files Browse the repository at this point in the history
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
  • Loading branch information
Geert Uytterhoeven authored and Florian Tobias Schandinat committed Dec 3, 2011
1 parent f0058b4 commit 769ea33
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/video/amifb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2464,7 +2464,6 @@ static void amifb_deinit(struct platform_device *pdev)
{
if (fb_info.cmap.len)
fb_dealloc_cmap(&fb_info.cmap);
fb_dealloc_cmap(&fb_info.cmap);
chipfree();
if (videomemory)
iounmap((void *)videomemory);
Expand Down

0 comments on commit 769ea33

Please sign in to comment.