diff options
| author | Michael Ellerman <[email protected]> | 2024-09-20 09:35:20 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2024-10-15 22:26:50 +0000 |
| commit | cf8989d20d64ad702a6210c11a0347ebf3852aa7 (patch) | |
| tree | 4c7c4351f7d1ac4d018b61d18ef188748cd51ba6 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | powerpc/8xx: Fix kernel DTLB miss on dcbz (diff) | |
| download | kernel-cf8989d20d64ad702a6210c11a0347ebf3852aa7.tar.gz kernel-cf8989d20d64ad702a6210c11a0347ebf3852aa7.zip | |
powerpc/powernv: Free name on error in opal_event_init()
In opal_event_init() if request_irq() fails name is not freed, leading
to a memory leak. The code only runs at boot time, there's no way for a
user to trigger it, so there's no security impact.
Fix the leak by freeing name in the error path.
Reported-by: 2639161967 <[email protected]>
Closes: https://lore.kernel.org/linuxppc-dev/[email protected]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
