Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 769ea331 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Florian Tobias Schandinat
Browse files

fbdev/amifb: Fix double free

parent f0058b4b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);