diff options
author | 2009-03-31 15:25:33 -0700 | |
---|---|---|
committer | 2009-04-01 08:59:32 -0700 | |
commit | 032220ba310204be9cb2ddbbf848020fadc63ce6 (patch) | |
tree | 8b32dd11705d0a31ce2c82ff547cff107939d0bd /arch/x86/mm/fault.c | |
parent | drivers/video/omap/hwa742.c: div reaches max_clk_div (diff) | |
download | linux-dev-032220ba310204be9cb2ddbbf848020fadc63ce6.tar.xz linux-dev-032220ba310204be9cb2ddbbf848020fadc63ce6.zip |
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 'arch/x86/mm/fault.c')
0 files changed, 0 insertions, 0 deletions