Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7ec2f42 authored by Hao Zeng's avatar Hao Zeng Committed by Greg Kroah-Hartman
Browse files

samples/bpf: Fix fout leak in hbm's run_bpf_prog



[ Upstream commit 23acb14af1914010dd0aae1bbb7fab28bf518b8e ]

Fix fout being fopen'ed but then not subsequently fclose'd. In the affected
branch, fout is otherwise going out of scope.

Signed-off-by: default avatarHao Zeng <zenghao@kylinos.cn>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20230411084349.1999628-1-zenghao@kylinos.cn


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4ceedc2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment