[asterisk-commits] dvossel: branch 1.8 r284705 - in /branches/1.8: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 2 11:56:47 CDT 2010


Author: dvossel
Date: Thu Sep  2 11:56:43 2010
New Revision: 284705

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=284705
Log:
Merged revisions 284704 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r284704 | dvossel | 2010-09-02 11:48:51 -0500 (Thu, 02 Sep 2010) | 13 lines
  
  Merged revisions 284703 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r284703 | dvossel | 2010-09-02 11:47:15 -0500 (Thu, 02 Sep 2010) | 7 lines
    
    Removed relatedpeer code from sip_autodestruct
    
    Handling of the relatedpeer structure associated with a
    sip_pvt should be done during the final sip_destruction
    function, not in sip_autodestruct.
  ........
................

Modified:
    branches/1.8/   (props changed)
    branches/1.8/channels/chan_sip.c

Propchange: branches/1.8/
------------------------------------------------------------------------------
Binary property 'branch-1.6.2-merged' - no diff available.

Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=284705&r1=284704&r2=284705
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Thu Sep  2 11:56:43 2010
@@ -3600,10 +3600,6 @@
 		}
 	}
 
-	if (p->relatedpeer) {
-		p->relatedpeer = unref_peer(p->relatedpeer, "__sip_autodestruct: unref peer p->relatedpeer");	/* Remove link to peer. If it's realtime, make sure it's gone from memory) */
-	}
-
 	/* Reset schedule ID */
 	p->autokillid = -1;
 




More information about the asterisk-commits mailing list