~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Oops. Uncomment the difficulty exceptions! (Also add another
[sgt/puzzles]
/
map.c
diff --git
a/map.c
b/map.c
index
e3ded28
..
12cf507
100644
(file)
--- a/
map.c
+++ b/
map.c
@@
-1373,6
+1373,7
@@
static int map_solver(struct solver_scratch *sc,
*/
}
+ sfree(origcolouring);
sfree(subcolouring);
free_scratch(rsc);
@@
-1788,9
+1789,9
@@
static char *validate_desc(game_params *params, char *desc)
map = snewn(2*wh, int);
ret = parse_edge_list(params, &desc, map);
+ sfree(map);
if (ret)
return ret;
- sfree(map);
if (*desc != ',')
return "Expected comma before clue list";