From bb561ee3b18be69e52b17cedde50eac96ea409da Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 20 Apr 2023 13:35:58 +0100 Subject: Use a dedicated free function to free dsfs. No functional change: currently, this just wraps the previous sfree call. --- dsf.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dsf.c') diff --git a/dsf.c b/dsf.c index 832bb30..f967ffb 100644 --- a/dsf.c +++ b/dsf.c @@ -86,6 +86,11 @@ int *snew_dsf(int size) return ret; } +void dsf_free(int *dsf) +{ + sfree(dsf); +} + int dsf_canonify(int *dsf, int index) { return edsf_canonify(dsf, index, NULL); -- cgit v1.1