diff options
| author | Josh Law <objecting@objecting.org> | 2026-03-06 16:16:12 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-03-27 21:19:41 -0700 |
| commit | bc6cc36855e9ebcf0c7e01f980ad67bcb0e50bdb (patch) | |
| tree | e2463e4740b41474f8996b5303479c8f86c924c1 /tools/perf/scripts/python | |
| parent | e54f7f67e9b361b3213b5b75e0cf7167c1105fc7 (diff) | |
lib/inflate: fix memory leak in inflate_fixed() on inflate_codes() failure
When inflate_codes() fails in inflate_fixed(), only the length list 'l' is
freed, but the Huffman tables 'tl' and 'td' are leaked. Add the missing
huft_free() calls on the error path.
Link: https://lkml.kernel.org/r/20260306161612.2811703-1-objecting@objecting.org
Signed-off-by: Josh Law <objecting@objecting.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
