public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3974] Plug memory leak in hybrid_threader.
@ 2021-09-30 6:10 Aldy Hernandez
0 siblings, 0 replies; only message in thread
From: Aldy Hernandez @ 2021-09-30 6:10 UTC (permalink / raw)
To: gcc-cvs
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 ();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-30 6:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-30 6:10 [gcc r12-3974] Plug memory leak in hybrid_threader Aldy Hernandez
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).