]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip.c: Moved some sip_pvt unrefs after their last use.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 15 Apr 2014 16:36:38 +0000 (16:36 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 15 Apr 2014 16:36:38 +0000 (16:36 +0000)
commit026d9e46138871a0cd48f6af35b4c6239bfe8b6f
tree464d378287b6b302ac5f730e53587d45e06ef16f
parent8357534796ea5b6e58a3d671d29e8024801ceec5
chan_sip.c: Moved some sip_pvt unrefs after their last use.

* Moved sip_pvt unref in ast_hangup() and handle_request_do() to the end
of the function.  The unref needs to happen after the last use of the
pointer.
........

Merged revisions 412348 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@412383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c