Fix freeing of thunk-info

PR jit/97867
	* symtab-thunks.h (thunk_info::release): Use ggc_delete.
This commit is contained in:
Jan Hubicka 2020-11-29 23:22:24 +01:00
parent eafe8ee7af
commit caea077c17

View File

@ -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 */