[asterisk-commits] branch 1.2 r36187 - /branches/1.2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jun 28 07:12:43 MST 2006


Author: oej
Date: Wed Jun 28 09:12:43 2006
New Revision: 36187

URL: http://svn.digium.com/view/asterisk?rev=36187&view=rev
Log:
Don't delete scheduled item twice in sip_destroy (already fixed in svn trunk)

Modified:
    branches/1.2/channels/chan_sip.c

Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?rev=36187&r1=36186&r2=36187&view=diff
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Wed Jun 28 09:12:43 2006
@@ -2176,9 +2176,6 @@
 		ast_log(LOG_WARNING, "Trying to destroy \"%s\", not found in dialog list?!?! \n", p->callid);
 		return;
 	} 
-	if (p->initid > -1)
-		ast_sched_del(sched, p->initid);
-
 	while((cp = p->packets)) {
 		p->packets = p->packets->next;
 		if (cp->retransid > -1) {



More information about the asterisk-commits mailing list