[asterisk-commits] irroot: branch irroot/distrotech-customers-1.8 r319359 - /team/irroot/distrot...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 17 01:54:04 CDT 2011


Author: irroot
Date: Tue May 17 01:54:00 2011
New Revision: 319359

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=319359
Log:
Reverse 319022 #19293

Modified:
    team/irroot/distrotech-customers-1.8/channels/chan_sip.c

Modified: team/irroot/distrotech-customers-1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-1.8/channels/chan_sip.c?view=diff&rev=319359&r1=319358&r2=319359
==============================================================================
--- team/irroot/distrotech-customers-1.8/channels/chan_sip.c (original)
+++ team/irroot/distrotech-customers-1.8/channels/chan_sip.c Tue May 17 01:54:00 2011
@@ -23864,6 +23864,11 @@
 		return 0;
 	}
 
+	/* At this point, if we have an authpeer we should unref it. */
+	if (authpeer) {
+		authpeer = unref_peer(authpeer, "unref pointer into (*authpeer)");
+	}
+
 	/* Add subscription for extension state from the PBX core */
 	if (p->subscribed != MWI_NOTIFICATION  && p->subscribed != CALL_COMPLETION && !resubscribe) {
 		if (p->stateid > -1) {




More information about the asterisk-commits mailing list