From 2ed08f84ef791bab9f0bbec964e98ddd370c90f9 Mon Sep 17 00:00:00 2001 From: Walter Doekes Date: Thu, 9 Oct 2014 08:01:33 +0000 Subject: [PATCH] Ouch! Accidental commit of wrong file in 424875. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@424876 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index ab511a0927..e42d78ff6f 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -24737,10 +24737,6 @@ static int handle_request_bye(struct sip_pvt *p, struct sip_request *req) } else { transmit_response(p, "200 OK", req); } - - /* Destroy any pending invites so we won't try to do another - * scheduled reINVITE. */ - AST_SCHED_DEL_UNREF(sched, p->waitid, dialog_unref(p, "decrement refcount from sip_destroy because waitid won't be scheduled")); return 1; }