diff options
author | Andres Salomon <dilinger@debian.org> | 2009-03-31 18:25:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 11:59:32 -0400 |
commit | 032220ba310204be9cb2ddbbf848020fadc63ce6 (patch) | |
tree | 8b32dd11705d0a31ce2c82ff547cff107939d0bd /drivers/video/arkfb.c | |
parent | ba78289343226773b27dc25e7d1e739d0162b9e8 (diff) |
asiliantfb: fix cmap memory leaks
- fix cmap leak in removal path
- fix cmap leak when register_framebuffer fails
- check return value of fb_alloc_cmap
- don't continue with driver setup if register_framebuffer fails
[krzysztof.h1@wp.pl: spotted missing iounmap]
[randy.dunlap@oracle.com: move data declaration before any code]
Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/arkfb.c')
0 files changed, 0 insertions, 0 deletions