| ... | @@ -28,13 +28,8 @@ pub fn main() !void { | ... | @@ -28,13 +28,8 @@ pub fn main() !void { |
| 28 | if (!args_it.skip()) @panic("expected self arg"); | 28 | if (!args_it.skip()) @panic("expected self arg"); |
| 29 | | 29 | |
| 30 | const zig_exe = args_it.next() orelse @panic("expected zig exe arg"); | 30 | const zig_exe = args_it.next() orelse @panic("expected zig exe arg"); |
| 31 | defer allocator.free(zig_exe); | | |
| 32 | | | |
| 33 | const in_file_name = args_it.next() orelse @panic("expected input arg"); | 31 | const in_file_name = args_it.next() orelse @panic("expected input arg"); |
| 34 | defer allocator.free(in_file_name); | | |
| 35 | | | |
| 36 | const out_file_name = args_it.next() orelse @panic("expected output arg"); | 32 | const out_file_name = args_it.next() orelse @panic("expected output arg"); |
| 37 | defer allocator.free(out_file_name); | | |
| 38 | | 33 | |
| 39 | var do_code_tests = true; | 34 | var do_code_tests = true; |
| 40 | if (args_it.next()) |arg| { | 35 | if (args_it.next()) |arg| { |