Skip to content
Snippets Groups Projects
Commit dd94255a authored by Olle Johansson's avatar Olle Johansson
Browse files

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
parent f48a5734
Branches
Tags
No related merge requests found
...@@ -2819,8 +2819,6 @@ static void __sip_destroy(struct sip_pvt *p, int lockowner) ...@@ -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); ast_log(LOG_WARNING, "Trying to destroy \"%s\", not found in dialog list?!?! \n", p->callid);
return; return;
} }
if (p->initid > -1)
ast_sched_del(sched, p->initid);
   
/* remove all current packets in this dialog */ /* remove all current packets in this dialog */
while((cp = p->packets)) { while((cp = p->packets)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment