commit | b14caecdbe7730bf82c8510f1ba52e00273e15c4 | [log] [tgz] |
---|---|---|
author | Andres Salomon <dilinger@queued.net> | Wed Feb 11 13:04:22 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Feb 11 14:25:34 2009 -0800 |
tree | a69e6fa70b98ef03bb9a1578caacc3b8fe5577bb | |
parent | 067f1293cc5916f8d88b602beeb8787d58515608 [diff] |
gxfb: properly alloc cmap and plug cmap leak 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.. Signed-off-by: Andres Salomon <dilinger@debian.org> Cc: Marco La Porta <marco-laporta@tiscali.it> Cc: Jordan Crouse <jordan@cosmicpenguin.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>