Commit 16382079 authored by Axel Lin's avatar Axel Lin Committed by Dmitry Torokhov

Input: gpio_keys - fix a memory leak

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 58c24400
......@@ -569,6 +569,7 @@ static int __devexit gpio_keys_remove(struct platform_device *pdev)
}
input_unregister_device(input);
kfree(ddata);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment