Skip to contentSkip to conversation

Fix leak in aty fb code.

PATCH New Dave Jones 1 participant 1 message Sep 1, 2004 Framebuffer layer

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

PATCH 1/1 Fix leak in aty fb code.

Spotted with the source checker from Coverity.com.

drivers/video/aty/atyfb_base.c +1 -0
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/video/aty/atyfb_base.c linux-2.6/drivers/video/aty/atyfb_base.c
@@ -2374,6 +2374,7 @@ int __init atyfb_init(void)
 		}
 	}
 #endif				/* CONFIG_ATARI */
+	kfree(info);
 	return 0;
 }