diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-02-13 09:36:27 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-02-13 09:39:04 +0000 |
| commit | 0f20b7226957a2fceff37a67b0d9874c7db3a7fc (patch) | |
| tree | 86049b4ba13071501fc2e1135c7fb20b37a95efe | |
| parent | bb31efdbc91495a4385ca0afffa4c8bb8f564d7b (diff) | |
| download | puzzles-0f20b7226957a2fceff37a67b0d9874c7db3a7fc.zip puzzles-0f20b7226957a2fceff37a67b0d9874c7db3a7fc.tar.gz puzzles-0f20b7226957a2fceff37a67b0d9874c7db3a7fc.tar.bz2 puzzles-0f20b7226957a2fceff37a67b0d9874c7db3a7fc.tar.xz | |
Remember to free the actual_board array in Mosaic
| -rw-r--r-- | mosaic.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 { |