Re: [PATCH bpf v2 05/15] selftests/bpf: Fix memory leaks in tests
From: Eduard Zingerman
Date: Thu Feb 19 2026 - 18:58:50 EST
On Tue, 2026-02-17 at 16:30 -0800, Ihor Solodrai wrote:
> Fix trivial memory leaks detected by userspace ASAN:
> - htab_update: free value buffer in test_reenter_update cleanup
> - test_xsk: inline pkt_stream_replace() in testapp_stats_rx_full()
> and testapp_stats_fill_empty()
> - testing_helpers: free buffer allocated by getline() in
> parse_test_list_file
>
> Signed-off-by: Ihor Solodrai <ihor.solodrai@xxxxxxxxx>
> ---
Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx>
[...]