missed one parseError allocator
All checks were successful
Generic zig build / build (push) Successful in 18s

This commit is contained in:
Emil Lerch 2026-04-10 17:08:22 -07:00
parent 5e47d9e71d
commit 1a42735f11
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -1356,7 +1356,7 @@ pub fn iterator(reader: *std.Io.Reader, allocator: std.mem.Allocator, options: P
const first_line = it.state.nextLine() orelse return ParseError.ParseFailed;
if (try Directive.parse(allocator, first_line, it.state)) |d| {
if (d != .magic) try parseError(aa, "Magic header not found on first line", it.state);
if (d != .magic) try parseError(allocator, "Magic header not found on first line", it.state);
} else try parseError(allocator, "Magic header not found on first line", it.state);
// Loop through the header material and configure our main parsing