Seg. fault on Linux
This commit is contained in:
@@ -6,5 +6,6 @@ int main() {
|
||||
fen_toBoard(fen, board);
|
||||
Coordinates *coords = piece_getMoves(board, board[2].piece, board[2].coords);
|
||||
printf("%d,%d", coords->row, coords->column);
|
||||
free(coords);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user