]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drivers/video/sgivwfb.c: fix memory leaks in removal path
authorAndres Salomon <dilinger@queued.net>
Tue, 31 Mar 2009 22:25:20 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:30 +0000 (08:59 -0700)
commitd4bc4e8af0a4a34c713f8c1a33a78cedffe8e0b7
tree564a2cc2de3f7b87079a9945c701ebd3b107cf6d
parent6a7f2829b5f8be124e168265f176dbbbea8861a0
drivers/video/sgivwfb.c: fix memory leaks in removal path

We were leaking both the cmap memory and the info struct 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/sgivwfb.c