chan_sip.c: Moved some sip_pvt unrefs after their last use.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 15 Apr 2014 16:38:35 +0000 (16:38 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 15 Apr 2014 16:38:35 +0000 (16:38 +0000)
commitc6a2a513c22f226f17def26b5283eaad8e367c15
tree8cc4a4801590eb298e808dc7819b8cc0e97c9fa8
parentcc4a0a7fc9f2154e47f871650a2ec52c8c5bafc6
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
........

Merged revisions 412383 from http://svn.asterisk.org/svn/asterisk/branches/12

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