summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2004-09-02 00:38:29 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-02 00:38:29 -0700
commit1c5820408ebeca1ff6e3df2ea3fe277503e0ff65 (patch)
treedd15c4fbb8de2f690ae607ae8704f8315b9b2105
parent6468c98fea33b58b040c3ca0413b3f62598fb1f1 (diff)
[PATCH] Fix leak in aty fb code.
Spotted with the source checker from Coverity.com. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/video/aty/atyfb_base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c
index 37177becebcb..2253f4a59cda 100644
--- a/drivers/video/aty/atyfb_base.c
+++ b/drivers/video/aty/atyfb_base.c
@@ -2374,6 +2374,7 @@ int __init atyfb_init(void)
}
}
#endif /* CONFIG_ATARI */
+ kfree(info);
return 0;
}