[svn-commits] oej: branch oej/pinerana-lock-mwipvt-trunk r332444 - /team/oej/pinerana-lock-...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Aug 18 07:12:45 CDT 2011


Author: oej
Date: Thu Aug 18 07:12:40 2011
New Revision: 332444

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=332444
Log:
Change thanks to russellb

Modified:
    team/oej/pinerana-lock-mwipvt-trunk/channels/chan_sip.c

Modified: team/oej/pinerana-lock-mwipvt-trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/pinerana-lock-mwipvt-trunk/channels/chan_sip.c?view=diff&rev=332444&r1=332443&r2=332444
==============================================================================
--- team/oej/pinerana-lock-mwipvt-trunk/channels/chan_sip.c (original)
+++ team/oej/pinerana-lock-mwipvt-trunk/channels/chan_sip.c Thu Aug 18 07:12:40 2011
@@ -25666,8 +25666,8 @@
 	ast_set_flag(&p->flags[0], SIP_OUTGOING);
 	/* the following will decrement the refcount on p as it finishes */
 	transmit_notify_with_mwi(p, newmsgs, oldmsgs, peer->vmexten);
+	sip_pvt_unlock(p);
 	dialog_unref(p, "unref dialog ptr p just before it goes out of scope at the end of sip_send_mwi_to_peer.");
-	sip_pvt_unlock(p);
 	return 0;
 }
 




More information about the svn-commits mailing list