public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2925] Plug 'par' memory leak in 'gcc/omp-oacc-neuter-broadcast.cc:execute_omp_oacc_neuter_broadcast'
@ 2021-08-16 10:12 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2021-08-16 10:12 UTC (permalink / raw)
To: gcc-cvs
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-16 10:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16 10:12 [gcc r12-2925] Plug 'par' memory leak in 'gcc/omp-oacc-neuter-broadcast.cc:execute_omp_oacc_neuter_broadcast' Thomas Schwinge
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).