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
@ -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…
Reference in New Issue
Block a user