[asterisk-commits] rmudgett: branch 1.6.2 r291111 - /branches/1.6.2/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Oct 11 13:39:08 CDT 2010
Author: rmudgett
Date: Mon Oct 11 13:39:06 2010
New Revision: 291111
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=291111
Log:
Make exit from handle_request_do() consistent.
Modified:
branches/1.6.2/channels/chan_sip.c
Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=291111&r1=291110&r2=291111
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Mon Oct 11 13:39:06 2010
@@ -22226,8 +22226,8 @@
if (p->owner && !nounlock)
ast_channel_unlock(p->owner);
sip_pvt_unlock(p);
+ ao2_t_ref(p, -1, "throw away dialog ptr from find_call at end of routine"); /* p is gone after the return */
ast_mutex_unlock(&netlock);
- ao2_t_ref(p, -1, "throw away dialog ptr from find_call at end of routine"); /* p is gone after the return */
return 1;
}
More information about the asterisk-commits
mailing list