free summary vectors.

Backport from mainline
	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.

From-SVN: r277445
This commit is contained in:
Jan Hubicka 2019-10-25 14:02:39 +02:00 committed by Jan Hubicka
parent e8c432208c
commit 3a3087860f
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2019-10-25 Jan Hubicka <hubicka@ucw.cz>
Backport from mainline
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-25 Jan Hubicka <hubicka@ucw.cz>
Backport from mainline

View File

@ -461,6 +461,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;
}
@ -926,6 +928,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;
}