summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAbdun Nihaal <nihaal@cse.iitm.ac.in>2025-11-10 20:29:41 +0300
committerJiri Kosina <jkosina@suse.com>2025-11-18 20:08:20 +0300
commita78eb69d60ce893de48dd75f725ba21309131fc2 (patch)
tree947cda31a703d54a547e9b52edde47cbb9601c94 /scripts/patch-kernel
parent8513c154f8ad7097653dd9bf43d6155e5aad4ab3 (diff)
downloadlinux-a78eb69d60ce893de48dd75f725ba21309131fc2.tar.xz
HID: uclogic: Fix potential memory leak in error path
In uclogic_params_ugee_v2_init_event_hooks(), the memory allocated for event_hook is not freed in the next error path. Fix that by freeing it. Fixes: a251d6576d2a ("HID: uclogic: Handle wireless device reconnection") Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions