mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-23 16:05:30 -07:00
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
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user