fixed test memory leak
All checks were successful
Verify build / verify_build (push) Successful in 1m7s
All checks were successful
Verify build / verify_build (push) Successful in 1m7s
This commit is contained in:
parent
d6fa809505
commit
008abd6444
@ -160,6 +160,7 @@ test "uci go" {
|
|||||||
|
|
||||||
const out = uci("go", game, alloc);
|
const out = uci("go", game, alloc);
|
||||||
try std.testing.expect(out == .move);
|
try std.testing.expect(out == .move);
|
||||||
|
alloc.free(out.move);
|
||||||
}
|
}
|
||||||
|
|
||||||
test "uci position" {
|
test "uci position" {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user