]> git.baikalelectronics.ru Git - kernel.git/commit
tgafb: fix cmap memory leak
authorAndres Salomon <dilinger@queued.net>
Tue, 31 Mar 2009 22:25:28 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:31 +0000 (08:59 -0700)
commit13b17be99181cdc4dd605a2dd4d8856cd013096d
tree549c61e2cf053c6e59ebdb878c6337173dfa179f
parent44f443fd11303df4e10e9ebe523022324032b665
tgafb: fix cmap memory leak

Fix cmap leak when register_framebuffer fails.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Acked-by: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/tgafb.c