From b7a883b7d1247e9342805a8d06e70fd4d02f11b3 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 4 Aug 2020 01:41:22 -0700 Subject: [PATCH] stage2: link: fix not freeing debug line free list --- src-self-hosted/link.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src-self-hosted/link.zig b/src-self-hosted/link.zig index db879e2732..ee8322350d 100644 --- a/src-self-hosted/link.zig +++ b/src-self-hosted/link.zig @@ -552,6 +552,7 @@ pub const File = struct { self.local_symbol_free_list.deinit(self.allocator); self.offset_table_free_list.deinit(self.allocator); self.text_block_free_list.deinit(self.allocator); + self.dbg_line_fn_free_list.deinit(self.allocator); self.offset_table.deinit(self.allocator); if (self.owns_file_handle) { if (self.file) |f| f.close();