]> git.baikalelectronics.ru Git - kernel.git/commit
Input: soc_button_array - fix leaking the ACPI button descriptor buffer
authorHans de Goede <hdegoede@redhat.com>
Sun, 18 Jun 2017 22:10:26 +0000 (15:10 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 18 Jun 2017 22:12:03 +0000 (15:12 -0700)
commit2c2c471314d6518b079accd77b6766b281aa9098
tree09a38a17c03ad90ea7c57948fb8d1cd636ac8e07
parentfc995cfa0c999d6496b9b1695cebacafae3b93b1
Input: soc_button_array - fix leaking the ACPI button descriptor buffer

We are passing a buffer with ACPI_ALLOCATE_BUFFER set to
acpi_evaluate_object, so we must free it when we are done with it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/soc_button_array.c