From: Andres Salomon Date: Wed, 11 Feb 2009 21:04:22 +0000 (-0800) Subject: gxfb: properly alloc cmap and plug cmap leak X-Git-Tag: v2.6.29-rc5~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b14caecdbe7730bf82c8510f1ba52e00273e15c4;p=pandora-kernel.git 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 Cc: Marco La Porta Cc: Jordan Crouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed