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:
58c2440
)
Input: gpio_keys - fix a memory leak
author
Axel Lin
<axel.lin@gmail.com>
Tue, 28 Jun 2011 21:23:30 +0000
(14:23 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 29 Jun 2011 07:22:47 +0000
(
00:22
-0700)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/gpio_keys.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/gpio_keys.c
b/drivers/input/keyboard/gpio_keys.c
index 320b59ab8902274cf58ebe0a8781a15098bc83dd..97bada4b680d210fe618412ba2e692c463a22a12 100644
(file)
--- a/
drivers/input/keyboard/gpio_keys.c
+++ b/
drivers/input/keyboard/gpio_keys.c
@@
-569,6
+569,7
@@
static int __devexit gpio_keys_remove(struct platform_device *pdev)
}
input_unregister_device(input);
+ kfree(ddata);
return 0;
}