[asterisk-scf-commits] asterisk-scf/release/sip.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Jun 20 14:24:37 CDT 2012


branch "master" has been updated
       via  fa10d8cd8919f61ab26756dd7cd6051d561673bd (commit)
      from  ffe3315c21acd1dfc04ebfdd1451961f99155017 (commit)

Summary of changes:
 src/SIPSession.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit fa10d8cd8919f61ab26756dd7cd6051d561673bd
Author: Brent Eagles <beagles at digium.com>
Date:   Wed Jun 20 16:53:27 2012 -0230

    Fix a servant leak issue. The facets added in association with the SIPSession
    were causing some stuff to hang around.

diff --git a/src/SIPSession.cpp b/src/SIPSession.cpp
index 7931776..77dfcb5 100755
--- a/src/SIPSession.cpp
+++ b/src/SIPSession.cpp
@@ -3287,6 +3287,8 @@ public:
     {
         // Remove all of the different interfaces we have exposed to the world.
         mSessionPriv->mAdapter->remove(mSessionPriv->mSessionProxy->ice_getIdentity());
+        mSessionPriv->mAdapter->removeAllFacets(mSessionPriv->mSessionProxy->ice_getIdentity());
+        mSessionPriv->mAdapter->remove(mSessionPriv->mOurSessionControllerProxy->ice_getIdentity());
 
         mSessionPriv->mAdapter->remove(mSessionPriv->mMediaSessionProxy->ice_getIdentity());
         if (mSessionPriv->mEventSink)
@@ -3300,6 +3302,7 @@ public:
             mSessionPriv->mAdapter->remove(mSessionPriv->mEventSourcePrx->ice_getIdentity());
         }
         mSessionPriv->mMediaSession = 0;
+        mSessionPriv->mOurSessionController = 0;
 
         if (mSessionPriv->mReplicationContext->isActive() == true)
         {

-----------------------------------------------------------------------


-- 
asterisk-scf/release/sip.git



More information about the asterisk-scf-commits mailing list