mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 00:21:32 +00:00
fbdev/amifb: Fix double free
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
This commit is contained in:
parent
f0058b4bb0
commit
769ea33145
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user