chiark / gitweb /
Fix a memory leak.
authorSimon Tatham <anakin@pobox.com>
Sat, 22 May 2004 13:07:23 +0000 (13:07 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 22 May 2004 13:07:23 +0000 (13:07 +0000)
[originally from svn r4239]

rect.c

diff --git a/rect.c b/rect.c
index 9b7816c34a67189f74f88c477b242b6726e9c26b..7fff9af24ca3c76f845de4e2b0f7c6ba99e078ae 100644 (file)
--- a/rect.c
+++ b/rect.c
@@ -1357,6 +1357,7 @@ void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate,
         sfree(vedge);
    }
 
+    sfree(corners);
     sfree(correct);
 }