diff --git a/src/gossip/table.zig b/src/gossip/table.zig index 061f69602..4ef65833d 100644 --- a/src/gossip/table.zig +++ b/src/gossip/table.zig @@ -660,7 +660,7 @@ pub const GossipTable = struct { } // free memory while versioned_value still points to the correct data - versioned_value.value.data.deinit(self.allocator); + versioned_value.value.data.deinit(self.gossip_data_allocator); // remove from store // this operation replaces the data pointed to by versioned_value to