Re: [PATCH] perf trace: free filter_pids entries in trace__exit()
From: Namhyung Kim
Date: Tue Nov 24 2026 - 15:59:45 EST
On Tue, 17 Nov 2026 17:56:00 +0800, Gu Bin wrote:
> trace__set_filter_pids_from_option() allocates trace->filter_pids.entries
> with calloc() when the --filter-pids option is parsed, but trace__exit()
> never frees it. Free it there along with the other entries array of the
> trace struct, ev_qualifier_ids.
Applied to perf-tools-next, thanks!
Best regards
Namhyung