Config: dupe received dir from arg iterator

This commit is contained in:
Halil Durak committed 2026-07-22 18:29:30 +03:00
1 parent 71536de386
commit 03cfdbe567
1 file changed
+1 -1
+1 -1
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.