From dd94255a69a890fac7d9b16a60eb81834f8794ec Mon Sep 17 00:00:00 2001 From: Olle Johansson <oej@edvina.net> Date: Tue, 27 Jun 2006 20:54:06 +0000 Subject: [PATCH] Don't delete initid scheduled item twice... Thanks, vecher, for bugging me about this. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36182 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 3c42f775ef..e44679f9ef 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2819,8 +2819,6 @@ static void __sip_destroy(struct sip_pvt *p, int lockowner) 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); /* remove all current packets in this dialog */ while((cp = p->packets)) { -- GitLab