Fix two memory leaks reported by Tiago Dionizio in recent Loopy

development.

[originally from svn r9163]
This commit is contained in:
Simon Tatham
2011-04-26 13:44:27 +00:00
parent 8266b71475
commit 4bab5e531b
2 changed files with 10 additions and 0 deletions

View File

@ -917,6 +917,8 @@ static game_drawstate *game_new_drawstate(drawing *dr, game_state *state)
static void game_free_drawstate(drawing *dr, game_drawstate *ds)
{
sfree(ds->textx);
sfree(ds->texty);
sfree(ds->clue_error);
sfree(ds->clue_satisfied);
sfree(ds->lines);