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.
This commit is contained in:
Yuan Fu 2022-10-17 17:31:23 -07:00
parent ddae8d4a13
commit c4122067d9
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -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)