summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2026-05-04 21:59:35 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-06-11 22:39:27 -0700
commita55a683a8e2bddb5467baab3e597a93022d4ee05 (patch)
tree2b5f9d2a154a6445d718664cd25c2c9d7d1bc86a /include/linux
parent6e752b35b65228a948fc9e7dea51abb70da8b114 (diff)
Input: rmi4 - fix memory leak in rmi_set_attn_data()
kfifo_put() returns 0 if the FIFO is full. In this case, we must free the memory allocated for the attention data to avoid a leak. Fixes: b908d3cd812a ("Input: synaptics-rmi4 - allow to add attention data") Cc: stable@vger.kernel.org Assisted-by: Gemini:gemini-3.1-pro Link: https://patch.msgid.link/20260505045952.1570713-5-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions