From 731b81ddeb215af3d5237b297e612e32cd2c8675 Mon Sep 17 00:00:00 2001 From: "John F. Carr" Date: Thu, 26 Feb 2026 13:15:58 -0700 Subject: [PATCH] Use delete[] to free reducer table buckets allocated by new[] --- runtime/local-hypertable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/local-hypertable.cpp b/runtime/local-hypertable.cpp index ffb664a2..4c181f5d 100644 --- a/runtime/local-hypertable.cpp +++ b/runtime/local-hypertable.cpp @@ -90,7 +90,7 @@ void hyper_table::rebuild(int32_t new_capacity) { assert(occupancy == old_occupancy && "Mismatched occupancy after resizing table."); - free(old_buckets); + delete [] old_buckets; } ///////////////////////////////////////////////////////////////////////////