shithub: puzzles

Download patch

ref: d022a1c11c185027fad937cbe9cd2c318025ee04
parent: 5e9dc42e54e777dbd014b4fc6e9312061d000915
author: Simon Tatham <anakin@pobox.com>
date: Wed Feb 26 01:19:26 EST 2020

Tracks: fix a small memory leak.

Spotted by Leak Sanitiser while I was testing the standalone solver.

--- a/tracks.c
+++ b/tracks.c
@@ -706,6 +706,7 @@
 
 done:
     sfree(positions);
+    sfree(nedges_previous_solve);
     free_game(scratch);
     return ret;
 }