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)
commit779f19ac9d5858a2c159030c0c166f7da46b74ae
tree09a38a17c03ad90ea7c57948fb8d1cd636ac8e07
parenta0897d5f2c2d884d20840c82aea517e8a7801441
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