[asterisk-commits] dvossel: branch 1.4 r284703 - /branches/1.4/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 2 11:47:19 CDT 2010
Author: dvossel
Date: Thu Sep 2 11:47:15 2010
New Revision: 284703
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=284703
Log:
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.4/channels/chan_sip.c
Modified: branches/1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=284703&r1=284702&r2=284703
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Thu Sep 2 11:47:15 2010
@@ -2172,10 +2172,6 @@
}
return 10000;
}
-
- /* If we're destroying a subscription, dereference peer object too */
- if (p->subscribed == MWI_NOTIFICATION && p->relatedpeer)
- ASTOBJ_UNREF(p->relatedpeer,sip_destroy_peer);
/* Reset schedule ID */
p->autokillid = -1;
More information about the asterisk-commits
mailing list