public inbox for
 help / color / mirror / Atom feed
From: Mark Wielaard <>
Subject: Re: [PATCH] libdw: Fix dwarf_getscopes memory leak on error
Date: Tue, 28 Feb 2023 12:36:21 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>


On Wed, 2023-02-22 at 23:39 +0100, Mark Wielaard wrote:
> When there is an error in dwarf_getscopes after the initial scopes
> have been allocated, e.g. when looking for the inlined scopes, then
> the scopes would leak. Fix this by explicitly free the scopes on error.

I pushed this.



      reply	other threads:[~2023-02-28 11:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-22 22:39 Mark Wielaard
2023-02-28 11:36 ` Mark Wielaard [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:

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

  git send-email \ \ \ \

* 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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).