all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Yuan Fu <casouri@gmail.com>
Cc: 58596@debbugs.gnu.org
Subject: bug#58596: 29.0.50; [PATCH] Fix memory leak when loading Tree-sitter language definitions
Date: Fri, 28 Oct 2022 21:49:27 +0200	[thread overview]
Message-ID: <m11qqrzq2g.fsf@yahoo.es> (raw)
In-Reply-To: <95784A3C-B2F1-415E-94B2-F08B2837AF31@gmail.com> (Yuan Fu's message of "Thu, 27 Oct 2022 16:39:10 -0700")

close 58596
thanks

Yuan Fu <casouri@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.





      reply	other threads:[~2022-10-28 19:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m1sfjmm56m.fsf.ref@yahoo.es>
2022-10-17 22:54 ` bug#58596: 29.0.50; [PATCH] Fix memory leak when loading Tree-sitter language definitions Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-10-27 23:39   ` Yuan Fu
2022-10-28 19:49     ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m11qqrzq2g.fsf@yahoo.es \
    --to=bug-gnu-emacs@gnu.org \
    --cc=58596@debbugs.gnu.org \
    --cc=casouri@gmail.com \
    --cc=mardani29@yahoo.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.