summaryrefslogtreecommitdiff
path: root/tools/perf/tests/maps.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/maps.c')
-rw-r--r--tools/perf/tests/maps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/tests/maps.c b/tools/perf/tests/maps.c
index edcbc70ff9d6..1ac72919fa35 100644
--- a/tools/perf/tests/maps.c
+++ b/tools/perf/tests/maps.c
@@ -116,5 +116,7 @@ int test__maps__merge_in(struct test *t __maybe_unused, int subtest __maybe_unus
ret = check_maps(merged3, ARRAY_SIZE(merged3), &maps);
TEST_ASSERT_VAL("merge check failed", !ret);
+
+ maps__exit(&maps);
return TEST_OK;
}