summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2006-06-27 20:54:06 +0000
committerOlle Johansson <oej@edvina.net>2006-06-27 20:54:06 +0000
commitdd94255a69a890fac7d9b16a60eb81834f8794ec (patch)
tree02cf581dc58322aeddbfff780450df34f25d0595 /channels
parentf48a5734398a3be1f4728091bb3f416146e86d38 (diff)
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
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 3c42f775e..e44679f9e 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)) {