]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
HID: logitech-dj: Fix memory leak in logi_dj_recv_switch_to_dj_mode()
authorJosé Expósito <jose.exposito89@gmail.com>
Fri, 24 May 2024 13:05:39 +0000 (15:05 +0200)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Fri, 2 Aug 2024 14:26:53 +0000 (16:26 +0200)
commitb4d7f7c70d78d4c17da88a169e381d1cbcbbfe67
tree763a5f2be05f2ca1f8dc9652726cae08a2871e03
parentdbed09d1c5489bd666e9d3ead94044a70656c8ec
HID: logitech-dj: Fix memory leak in logi_dj_recv_switch_to_dj_mode()

BugLink: https://bugs.launchpad.net/bugs/2074091
[ Upstream commit ce3af2ee95170b7d9e15fff6e500d67deab1e7b3 ]

Fix a memory leak on logi_dj_recv_send_report() error path.

Fixes: 6f20d3261265 ("HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()")
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Portia Stephens <portia.stephens@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
drivers/hid/hid-logitech-dj.c