* [PATCH] Input: gpio_keys - fix a memory leak
@ 2011-06-28 2:46 Axel Lin
2011-06-29 8:25 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-06-28 2:46 UTC (permalink / raw)
To: linux-kernel; +Cc: Phil Blundell, Dmitry Torokhov, linux-input
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/input/keyboard/gpio_keys.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c
index 6d0e2f6..cc4bdec 100644
--- 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;
}
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Input: gpio_keys - fix a memory leak
2011-06-28 2:46 [PATCH] Input: gpio_keys - fix a memory leak Axel Lin
@ 2011-06-29 8:25 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2011-06-29 8:25 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Phil Blundell, linux-input
On Tue, Jun 28, 2011 at 10:46:21AM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Applied, thanks Axel.
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-29 8:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-28 2:46 [PATCH] Input: gpio_keys - fix a memory leak Axel Lin
2011-06-29 8:25 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).