summaryrefslogtreecommitdiff
path: root/internal/tui/flamegraph/bench_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/tui/flamegraph/bench_test.go')
-rw-r--r--internal/tui/flamegraph/bench_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/tui/flamegraph/bench_test.go b/internal/tui/flamegraph/bench_test.go
index 05c6526..33d77d1 100644
--- a/internal/tui/flamegraph/bench_test.go
+++ b/internal/tui/flamegraph/bench_test.go
@@ -298,6 +298,7 @@ func BenchmarkLiveTrieIngestAndSnapshot(b *testing.B) {
buildBenchmarkPath(8, 6, eventIdx),
)
liveTrie.Ingest(pair)
+ pair.Recycle()
}
payload, _ := liveTrie.SnapshotJSON()