diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2021-10-01 11:59:10 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-10-01 22:54:38 +0200 |
commit | b0e875bac0fab3e7a7431c2eee36a8ccc0c712ac (patch) | |
tree | a1183b6c5ce4e6f0b520a2e5e23acd7623382084 /kernel | |
parent | 4729445b47efebf089da4ccbcd1b116ffa2ad4af (diff) | |
download | linux-b0e875bac0fab3e7a7431c2eee36a8ccc0c712ac.tar.bz2 |
libbpf: Fix memory leak in strset
Free struct strset itself, not just its internal parts.
Fixes: 90d76d3ececc ("libbpf: Extract internal set-of-strings datastructure APIs")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20211001185910.86492-1-andrii@kernel.org
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions