From: Yuan Fu Date: Tue, 18 Oct 2022 00:31:23 +0000 (-0700) Subject: Change free to xfree in treesit.el X-Git-Tag: emacs-29.0.90~1815 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c4122067d90857594508f6c00e8af87d91ddb7d4;p=emacs.git 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. --- 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)