aboutsummaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
Diffstat (limited to 'range.c')
-rw-r--r--range.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/range.c b/range.c
index 8b1b602..855a674 100644
--- a/range.c
+++ b/range.c
@@ -1492,7 +1492,7 @@ static bool find_errors(const game_state *state, bool *report)
int biggest, canonical;
if (!report) {
- sfree(dsf);
+ dsf_free(dsf);
goto found_error;
}
@@ -1517,7 +1517,7 @@ static bool find_errors(const game_state *state, bool *report)
if (state->grid[i] != BLACK && dsf_canonify(dsf, i) != canonical)
report[i] = true;
}
- sfree(dsf);
+ dsf_free(dsf);
free_game(dup);
return false; /* if report != NULL, this is ignored */