OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07b39b4
)
vfb: fix memory leaks in removal path
author
Andres Salomon
<dilinger@queued.net>
Tue, 31 Mar 2009 22:25:22 +0000
(15:25 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:30 +0000
(08:59 -0700)
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/vfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/vfb.c
b/drivers/video/vfb.c
index
93fe08d
..
cc919ae
100644
(file)
--- a/
drivers/video/vfb.c
+++ b/
drivers/video/vfb.c
@@
-543,6
+543,7
@@
static int vfb_remove(struct platform_device *dev)
if (info) {
unregister_framebuffer(info);
rvfree(videomemory, videomemorysize);
+ fb_dealloc_cmap(&info->cmap);
framebuffer_release(info);
}
return 0;