Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -569,6 +569,7 @@ static int __devexit gpio_keys_remove(struct platform_device *pdev)
	}

	input_unregister_device(input);
	kfree(ddata);

	return 0;
}