Message ID | 20201129222301.GA80229@kam.mff.cuni.cz |
---|---|
State | New |
Headers | show |
Series | Fix freeing of thunk_info | expand |
diff --git a/gcc/symtab-thunks.h b/gcc/symtab-thunks.h index 41a684995b3..0dba2217793 100644 --- a/gcc/symtab-thunks.h +++ b/gcc/symtab-thunks.h @@ -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 */