mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
Fix freeing of thunk-info
PR jit/97867 * symtab-thunks.h (thunk_info::release): Use ggc_delete.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user