public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Aldy Hernandez <aldyh@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-3974] Plug memory leak in hybrid_threader. Date: Thu, 30 Sep 2021 06:10:20 +0000 (GMT) [thread overview] Message-ID: <20210930061020.2F3B83857C47@sourceware.org> (raw) https://gcc.gnu.org/g:64dd46dbc682fbbc03a74e0298f7ac471c5e80f2 commit r12-3974-g64dd46dbc682fbbc03a74e0298f7ac471c5e80f2 Author: Aldy Hernandez <aldyh@redhat.com> Date: Thu Sep 30 02:19:36 2021 +0200 Plug memory leak in hybrid_threader. Tested on x86-64 Linux. gcc/ChangeLog: PR middle-end/102519 * tree-vrp.c (hybrid_threader::~hybrid_threader): Free m_query. Diff: --- gcc/tree-vrp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c index 69a3ab0ea9d..c24c67f8874 100644 --- a/gcc/tree-vrp.c +++ b/gcc/tree-vrp.c @@ -4408,6 +4408,7 @@ hybrid_threader::~hybrid_threader () delete m_threader; delete m_state; delete m_ranger; + delete m_query; scev_finalize (); loop_optimizer_finalize ();
reply other threads:[~2021-09-30 6:10 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20210930061020.2F3B83857C47@sourceware.org \ --to=aldyh@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /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: linkBe 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).