diff options
author | Zhu Jun <zhujun2@cmss.chinamobile.com> | 2024-10-10 04:41:26 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-10-11 05:13:47 +0300 |
commit | f3ef53174b23246fe9bc2bbc2542f3a3856fa1e2 (patch) | |
tree | bee2c9df68dd9459c1f4081ca3d28fb0d56491dd /fs/ext4/fast_commit.c | |
parent | c6ca31981b545ad3081007b6aa88b6aab1b0cece (diff) | |
download | linux-f3ef53174b23246fe9bc2bbc2542f3a3856fa1e2.tar.xz |
samples/bpf: Fix a resource leak
The opened file should be closed in show_sockopts(), otherwise resource
leak will occur that this problem was discovered by reading code
Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241010014126.2573-1-zhujun2@cmss.chinamobile.com
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions