]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Ouch! Accidental commit of wrong file in 424875.
authorWalter Doekes <walter+asterisk@wjd.nu>
Thu, 9 Oct 2014 08:01:33 +0000 (08:01 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Thu, 9 Oct 2014 08:01:33 +0000 (08:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@424876 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index ab511a09277e0177ca95ad48432acd654c909328..e42d78ff6f2393f57c037540260a90022bf19558 100644 (file)
@@ -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;
 }