stage2: link: fix not freeing debug line free list

This commit is contained in:
Andrew Kelley 2020-08-04 01:41:22 -07:00
parent ca19c42b74
commit b7a883b7d1

View File

@ -552,6 +552,7 @@ pub const File = struct {
self.local_symbol_free_list.deinit(self.allocator); self.local_symbol_free_list.deinit(self.allocator);
self.offset_table_free_list.deinit(self.allocator); self.offset_table_free_list.deinit(self.allocator);
self.text_block_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); self.offset_table.deinit(self.allocator);
if (self.owns_file_handle) { if (self.owns_file_handle) {
if (self.file) |f| f.close(); if (self.file) |f| f.close();