bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#71012: 30.0.50; tree-sitter crash


From: Basil L. Contovounesios
Subject: bug#71012: 30.0.50; tree-sitter crash
Date: Thu, 25 Jul 2024 01:32:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii [2024-07-24 19:31 +0300] wrote:

>> Cc: 71012@debbugs.gnu.org, eller.helmut@gmail.com
>> From: "Basil L. Contovounesios" <basil@contovou.net>
>> Date: Wed, 24 Jul 2024 16:57:53 +0200
>> 
>> Ping: thoughts on whether this is an issue?
>
> Thoughts about what? what is deemed to be a problem in this case?

That each call to treesit-parse-string now allocates a new internal
buffer which is not automatically GCed.

If this cannot be avoided, I think the docs should at least warn that
it's the caller's responsibility to kill the return node's buffer when
finished with it.

-- 
Basil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]