diff options
author | Marco La Porta <marco-laporta@tiscali.it> | 2009-02-11 13:04:20 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-02-11 14:25:34 -0800 |
commit | 067f1293cc5916f8d88b602beeb8787d58515608 (patch) | |
tree | 1077d6997716b33ab203ff206e5b7df09ed57d70 /drivers/video/logo | |
parent | 57f63bc8fe79e6598e7253f10f53f58c9fdc57be (diff) |
lxfb: properly alloc cmap in all cases and don't leak the memory
We weren't properly allocating the cmap for depths greater than 8bpp,
which caused pain for things like DirectFB. Also, we never freed the cmap
memory upon module unload..
[dilinger@debian.org: dropped unnecessary code and clean up patch]
[dilinger@debian.org: add error checking and handling]
Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: Jordan Crouse <jordan@cosmicpenguin.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/logo')
0 files changed, 0 insertions, 0 deletions