diff --git a/mosaic.c b/mosaic.c index f3a3216..842c211 100644 --- a/mosaic.c +++ b/mosaic.c @@ -925,6 +925,7 @@ static void free_game(game_state *state) sfree(state->cells_contents); state->cells_contents = NULL; if (state->board->references <= 1) { + sfree(state->board->actual_board); sfree(state->board); state->board = NULL; } else {