summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2011-11-21 21:53:53 +0100
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-12-03 22:03:31 +0000
commit769ea33145b5f4c1f0d07e1d4db0121c4b98f81f (patch)
tree1404fc1fa476ffe2d520327f440ee6919745b982 /drivers
parentf0058b4bb0630f7d1bf10e8fc3f8784af2fc96e1 (diff)
downloadop-kernel-dev-769ea33145b5f4c1f0d07e1d4db0121c4b98f81f.zip
op-kernel-dev-769ea33145b5f4c1f0d07e1d4db0121c4b98f81f.tar.gz
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')
-rw-r--r--drivers/video/amifb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/amifb.c b/drivers/video/amifb.c
index 72454c7..39d211a 100644
--- a/drivers/video/amifb.c
+++ b/drivers/video/amifb.c
@@ -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);
OpenPOWER on IntegriCloud