projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d1836c
)
backlight: cr_bllcd.c: fix a memory leak
author
Axel Lin
<
[email protected]
>
Wed, 22 Dec 2010 01:24:27 +0000
(17:24 -0800)
committer
Linus Torvalds
<
[email protected]
>
Thu, 23 Dec 2010 03:43:34 +0000
(19:43 -0800)
Signed-off-by: Axel Lin <
[email protected]
>
Cc: Thomas Hellstrom <
[email protected]
>
Cc: Alan Hourihane <
[email protected]
>
Cc: Richard Purdie <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/backlight/cr_bllcd.c
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/cr_bllcd.c
b/drivers/video/backlight/cr_bllcd.c
index a4f4546f0be08555f8a2d793b6b94beaae91186f..397d15eb1ea8aee3d4fe870ae87f8b14f161654f 100644
(file)
--- a/
drivers/video/backlight/cr_bllcd.c
+++ b/
drivers/video/backlight/cr_bllcd.c
@@
-242,6
+242,7
@@
static int cr_backlight_remove(struct platform_device *pdev)
backlight_device_unregister(crp->cr_backlight_device);
lcd_device_unregister(crp->cr_lcd_device);
pci_dev_put(lpc_dev);
+ kfree(crp);
return 0;
}