]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Fix leak in aty fb code.
authorDave Jones <davej@redhat.com>
Thu, 2 Sep 2004 07:38:29 +0000 (00:38 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 2 Sep 2004 07:38:29 +0000 (00:38 -0700)
Spotted with the source checker from Coverity.com.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/aty/atyfb_base.c

index 37177becebcba8a7f76d3dc9cb88660afbcd926f..2253f4a59cda6858c0a40a20b79b9f1a72eb77ce 100644 (file)
@@ -2374,6 +2374,7 @@ int __init atyfb_init(void)
                }
        }
 #endif                         /* CONFIG_ATARI */
+       kfree(info);
        return 0;
 }