projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4bc4e8
)
tdfxfb: fix memory leaks in removal path
author
Andres Salomon
<dilinger@queued.net>
Tue, 31 Mar 2009 22:25:21 +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/tdfxfb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/tdfxfb.c
b/drivers/video/tdfxfb.c
index 14bd3f3680b8e549d6662e4d5779b8b259886a05..ee64771fbe3dd0dee90f15664606901884b85245 100644
(file)
--- a/
drivers/video/tdfxfb.c
+++ b/
drivers/video/tdfxfb.c
@@
-1393,6
+1393,7
@@
static void __devexit tdfxfb_remove(struct pci_dev *pdev)
release_mem_region(pci_resource_start(pdev, 0),
pci_resource_len(pdev, 0));
pci_set_drvdata(pdev, NULL);
+ fb_dealloc_cmap(&info->cmap);
framebuffer_release(info);
}