]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sunxvr500: fix cmap memory leaks
authorAndres Salomon <dilinger@queued.net>
Tue, 31 Mar 2009 22:25:27 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:31 +0000 (08:59 -0700)
commitcc880a715782fe31116284d90e0b5bfb1411535b
treebe6e192a7fd89a4f5c028a35bfd972770552647d
parentccb121e6958eca5f58938e56523fc589fed36fa8
sunxvr500: 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>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: 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/sunxvr500.c