Config: dupe received dir from arg iterator

This commit is contained in:
Halil Durak
2026-07-15 15:20:35 +03:00
parent 71536de386
commit 03cfdbe567

View File

@@ -109,7 +109,7 @@ fn caPathValidator(
return error.InvalidArgument;
}
return list.append(allocator, dir);
return list.append(allocator, try allocator.dupeZ(u8, dir));
}
/// Common CLI args.