symbols-summary.h (fast_function_summary<T *, [...]): Free m_vector.

* symbols-summary.h (fast_function_summary<T *, V>::release,
	fast_call_summary<T *, V>::release): Free m_vector.

From-SVN: r277425
This commit is contained in:
Jan Hubicka 2019-10-25 00:24:42 +02:00 committed by Jan Hubicka
parent f658ad3002
commit ea3628bdeb
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2019-10-24 Jan Hubicka <hubicka@ucw.cz>
* symbols-summary.h (fast_function_summary<T *, V>::release,
fast_call_summary<T *, V>::release): Free m_vector.
2019-10-24 Jan Hubicka <hubicka@ucw.cz>
* cgraphunit.c (symbol_table::process_new_functions): Call

View File

@ -458,6 +458,8 @@ fast_function_summary<T *, V>::release ()
if ((*m_vector)[i] != NULL)
this->release ((*m_vector)[i]);
vec_free (m_vector);
this->m_released = true;
}
@ -919,6 +921,8 @@ fast_call_summary<T *, V>::release ()
if ((*m_vector)[i] != NULL)
this->release ((*m_vector)[i]);
vec_free (m_vector);
this->m_released = true;
}