]> git.eshelyaron.com Git - emacs.git/commit
Fix crashes inside 'xfree' called from treesit.c
authorEli Zaretskii <eliz@gnu.org>
Tue, 7 Feb 2023 19:53:05 +0000 (21:53 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 7 Feb 2023 19:53:05 +0000 (21:53 +0200)
commitc9ba05af8dfabca00023bd2312dec4ec59497801
tree7519897e8d551a6e790d467e33ccfe8ece5c38e7
parent746748f5c283b98a221571e725833affe304a748
Fix crashes inside 'xfree' called from treesit.c

* src/treesit.c (treesit_load_language): Always xstrdup 'c_name',
to avoid crashes inside xfree.  (Bug#61351)
src/treesit.c