ref: d577aaecab09506988a657fa257c4d0ab85d0cd6
parent: 1aa67e7a75ac21d15780d6aaab65a2c0f6f65198
author: Ben Harris <bjh21@bjh21.me.uk>
date: Mon Feb 13 06:21:11 EST 2023
Free new game_state properly in Mosaic's execute_move() Using sfree() rather than free_game() in the error paths meant that various arrays referenced from the game_state weren't properly freed. Also one error path didn't free the game_state at all.