Input: gpio_keys - fix a memory leak
Subsystems (2)
PATCH 1/1 Input: gpio_keys - fix a memory leak
Signed-off-by Axel Lin <[email protected]>
--- drivers/input/keyboard/gpio_keys.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/input/keyboard/gpio_keys.c +1 -0
@@ -569,6 +569,7 @@ static int __devexit gpio_keys_remove(struct platform_device *pdev) }input_unregister_device (input); +kfree (ddata);return 0 ; }
Signature · 1 line
1.7.4.1
Quoted 1 line · Axel Lin
Signed-off-by Axel Lin <[email protected]>
Applied, thanks Axel.
Signature · 1 line
Dmitry