GNU bug report logs - #58596
29.0.50; [PATCH] Fix memory leak when loading Tree-sitter language definitions

Previous Next

Package: emacs;

Reported by: Daniel Martín <mardani29 <at> yahoo.es>

Date: Mon, 17 Oct 2022 22:56:02 UTC

Severity: normal

Tags: patch

Found in version 29.0.50

Done: Daniel Martín <mardani29 <at> yahoo.es>

Bug is archived. No further changes may be made.

Full log


Message #13 received at control <at> debbugs.gnu.org (full text, mbox):

From: Daniel Martín <mardani29 <at> yahoo.es>
To: Yuan Fu <casouri <at> gmail.com>
Cc: 58596 <at> debbugs.gnu.org
Subject: Re: bug#58596: 29.0.50; [PATCH] Fix memory leak when loading
 Tree-sitter language definitions
Date: Fri, 28 Oct 2022 21:49:27 +0200
close 58596
thanks

Yuan Fu <casouri <at> gmail.com> writes:

>
> Sorry! I just see this.  I believe I fixed the memory leak in trunk.
> The purpose for treesit_symbol_to_c_name is to transform not dashes in
> tree-sitter, but dashes in languages names, eg, c-sharp.  So we do need
> that.  Thank you so much on working on this though!
>
> If you don’t mind, please have a look at the revised code and see if it
> fixes the memory leak.
>

I can confirm that I can't reproduce the memory leak with the latest
version of the code.

I'm closing this bug report.  Thanks.




This bug report was last modified 2 years and 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.