projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddae8d4
)
Change free to xfree in treesit.el
author
Yuan Fu
<casouri@gmail.com>
Tue, 18 Oct 2022 00:31:23 +0000
(17:31 -0700)
committer
Yuan Fu
<casouri@gmail.com>
Tue, 18 Oct 2022 00:31:23 +0000
(17:31 -0700)
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
patch
|
blob
|
history
diff --git
a/src/treesit.c
b/src/treesit.c
index 5994f6c263d763a0fd34235e960a2c06a03709d2..b0b20e8b255c5eb4acc2e29ee1016eeef1451bf8 100644
(file)
--- 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);
+
x
free (treesit_ranges);
}
if (!success)