]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
amba-clcd: fix cmap memory leaks
authorAndres Salomon <dilinger@queued.net>
Tue, 31 Mar 2009 22:25:29 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:31 +0000 (08:59 -0700)
commit909baf0092545e5c2082b045303e7a4b1d2a0522
tree03af508a13bcd9cf2b41be2bfe4ae5a950f230bd
parente98d9b407c248ba1419bed0823488d3cc71a2c31
amba-clcd: fix cmap memory leaks

- fix cmap leak in removal path

- fix cmap leak when register_framebuffer fails

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