Skip to content
Commit d4bc4e8a authored by Andres Salomon's avatar Andres Salomon Committed by Linus Torvalds
Browse files

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: default avatarAndres Salomon <dilinger@debian.org>
Acked-by: default avatarKrzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6a7f2829
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment