tdfxfb: fix memory leaks in removal path
authorAndres Salomon <dilinger@queued.net>
Tue, 31 Mar 2009 22:25:21 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:30 +0000 (08:59 -0700)
commit895d72279da7f24f266f9583c239e7b22230127c
treeb120a3240285c3e4f0812c73505cb06a8174b30b
parentd4bc4e8af0a4a34c713f8c1a33a78cedffe8e0b7
tdfxfb: fix memory leaks in removal path

We were leaking the cmap memory.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/tdfxfb.c