]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Allow SIP pvts involved in Replaces transfers to fall out of reference sooner
authorKinsey Moore <kmoore@digium.com>
Fri, 27 Apr 2012 18:58:34 +0000 (18:58 +0000)
committerKinsey Moore <kmoore@digium.com>
Fri, 27 Apr 2012 18:58:34 +0000 (18:58 +0000)
commit0a5463e70ae78a20975ce00bd9f9e604ea6e58af
treeb534cef4190a6072e7662cbcdd51f75319c47e59
parent253952e415d448bc2386f9d3ec3123b20cb53c65
Allow SIP pvts involved in Replaces transfers to fall out of reference sooner

Unref the SIP pvt stored in the refer structure as soon as it is no longer
needed so that the pvt and associated file descriptors can be freed sooner.
This change makes a reference decrement unnecessary in code that handles SIP
BYE/Also transfers which should not touch the reference anyway.

(Closes issue ASTERISK-19579)
Reported by: Maciej Krajewski
Tested by: Maciej Krajewski
........

Merged revisions 364258 from http://svn.asterisk.org/svn/asterisk/branches/1.8

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