summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/strset.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/bpf/strset.c')
-rw-r--r--tools/lib/bpf/strset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/strset.c b/tools/lib/bpf/strset.c
index 1fb8b49de1d6..ea655318153f 100644
--- a/tools/lib/bpf/strset.c
+++ b/tools/lib/bpf/strset.c
@@ -88,6 +88,7 @@ void strset__free(struct strset *set)
hashmap__free(set->strs_hash);
free(set->strs_data);
+ free(set);
}
size_t strset__data_size(const struct strset *set)