From c4122067d90857594508f6c00e8af87d91ddb7d4 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Mon, 17 Oct 2022 17:31:23 -0700 Subject: [PATCH] Change free to xfree in treesit.el This should be in the last commit but I forgot. * src/treesit.c (Ftreesit_parser_set_included_ranges): Change free to xfree. --- src/treesit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/treesit.c b/src/treesit.c index 5994f6c263d..b0b20e8b255 100644 --- a/src/treesit.c +++ b/src/treesit.c @@ -1361,7 +1361,7 @@ is nil, the PARSER is to parse the whole buffer. */) /* Although XFIXNUM could signal, it should be impossible because we have checked the input by treesit_check_range_argument. So there is no need for unwind-protect. */ - free (treesit_ranges); + xfree (treesit_ranges); } if (!success) -- 2.39.2