Fixes args being leaked on Windows
This commit is contained in:
parent
045d27e9af
commit
9950160840
1 changed files with 1 additions and 0 deletions
|
|
@ -170,6 +170,7 @@ pub fn main() !void {
|
|||
const allocator = gpa.allocator();
|
||||
|
||||
var args = try std.process.argsWithAllocator(allocator);
|
||||
defer args.deinit();
|
||||
std.debug.assert(args.skip());
|
||||
const in_path = args.next().?;
|
||||
const out_path = args.next().?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue