forked from Minki/linux
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…
Reference in New Issue
Block a user