Properly release symtab::m_clones.
gcc/ChangeLog: PR jit/98615 * symtab-clones.h (clone_info::release): Release symtab::m_clones with ggc_delete as it's a GGC memory.
This commit is contained in:
parent
3dd0d3ee1d
commit
cbe9758ff4
|
@ -83,7 +83,7 @@ inline void
|
|||
clone_info::release ()
|
||||
{
|
||||
if (symtab->m_clones)
|
||||
delete (symtab->m_clones);
|
||||
ggc_delete (symtab->m_clones);
|
||||
symtab->m_clones = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue