Fixed memory leak. Destroy the msu extracted from reroute queue.

git-svn-id: http://yate.null.ro/svn/yate/trunk@4466 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
andrei 2011-06-29 08:07:18 +00:00
parent a57070b926
commit e0c0626dfa
1 changed files with 1 additions and 0 deletions

View File

@ -284,6 +284,7 @@ void SS7Route::rerouteCheck(u_int64_t when)
while (HeldMSU* msu = static_cast<HeldMSU*>(m_reroute.remove(false))) {
transmitInternal(msu->m_router,*msu,msu->m_label,msu->m_sls,
msu->m_states,msu->m_source);
TelEngine::destruct(msu);
c++;
}
if (c)