public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Thomas Schwinge <tschwinge@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-2925] Plug 'par' memory leak in 'gcc/omp-oacc-neuter-broadcast.cc:execute_omp_oacc_neuter_broadcast' Date: Mon, 16 Aug 2021 10:12:45 +0000 (GMT) [thread overview] Message-ID: <20210816101245.E6F1B393C878@sourceware.org> (raw) https://gcc.gnu.org/g:df98015fb7db2ed754a7c154669bc7777f8e1612 commit r12-2925-gdf98015fb7db2ed754a7c154669bc7777f8e1612 Author: Thomas Schwinge <thomas@codesourcery.com> Date: Fri Aug 6 15:34:25 2021 +0200 Plug 'par' memory leak in 'gcc/omp-oacc-neuter-broadcast.cc:execute_omp_oacc_neuter_broadcast' Fix-up for recent commit e2a58ed6dc5293602d0d168475109caa81ad0f0d "openacc: Middle-end worker-partitioning support". gcc/ * omp-oacc-neuter-broadcast.cc (execute_omp_oacc_neuter_broadcast): Plug 'par' memory leak. Diff: --- gcc/omp-oacc-neuter-broadcast.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/omp-oacc-neuter-broadcast.cc b/gcc/omp-oacc-neuter-broadcast.cc index d30867085c3..d48627a6940 100644 --- a/gcc/omp-oacc-neuter-broadcast.cc +++ b/gcc/omp-oacc-neuter-broadcast.cc @@ -1463,6 +1463,8 @@ execute_omp_oacc_neuter_broadcast () gcc_checking_assert (!it); prop_set.release (); + delete par; + /* This doesn't seem to make a difference. */ loops_state_clear (LOOP_CLOSED_SSA);
reply other threads:[~2021-08-16 10:12 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=20210816101245.E6F1B393C878@sourceware.org \ --to=tschwinge@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).