mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-17 22:05:08 +00:00
Input: gpio_keys - fix a memory leak
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
58c244009e
commit
1638207910
@ -569,6 +569,7 @@ static int __devexit gpio_keys_remove(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
input_unregister_device(input);
|
||||
kfree(ddata);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user