summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorGünther Noack <gnoack@google.com>2026-02-19 16:43:37 +0100
committerBenjamin Tissoires <bentiss@kernel.org>2026-02-19 18:57:38 +0100
commit91e8c6e601bdc1ccdf886479b6513c01c7e51c2c (patch)
treec6063ddef5e0f259897df51ac601ca1245cd92c1 /tools/perf/scripts/python/task-analyzer.py
parent239c15116d80f67d32f00acc34575f1a6b699613 (diff)
downloadlinux-91e8c6e601bdc1ccdf886479b6513c01c7e51c2c.tar.gz
linux-91e8c6e601bdc1ccdf886479b6513c01c7e51c2c.zip
HID: magicmouse: avoid memory leak in magicmouse_report_fixup()
The magicmouse_report_fixup() function was returning a newly kmemdup()-allocated buffer, but never freeing it. The caller of report_fixup() does not take ownership of the returned pointer, but it *is* permitted to return a sub-portion of the input rdesc, whose lifetime is managed by the caller. Assisted-by: Gemini-CLI:Google Gemini 3 Signed-off-by: Günther Noack <gnoack@google.com> Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions