Fix freeing of thunk-info
PR jit/97867 * symtab-thunks.h (thunk_info::release): Use ggc_delete.
This commit is contained in:
parent
eafe8ee7af
commit
caea077c17
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ inline void
|
|||
thunk_info::release ()
|
||||
{
|
||||
if (symtab->m_thunks)
|
||||
delete (symtab->m_thunks);
|
||||
ggc_delete (symtab->m_thunks);
|
||||
symtab->m_thunks = NULL;
|
||||
}
|
||||
#endif /* GCC_SYMTAB_THUNKS_H */
|
||||
|
|
Loading…
Add table
Reference in a new issue