summaryrefslogtreecommitdiff
path: root/main/astobj2.c
diff options
context:
space:
mode:
authorScott Griepentrog <sgriepentrog@digium.com>2014-07-18 17:42:41 +0000
committerScott Griepentrog <sgriepentrog@digium.com>2014-07-18 17:42:41 +0000
commitf91989d44ee5ee8c202c0808494996bccc5d88e8 (patch)
treeea347a0bee1dbc945e00e8da863a0ffe88b15dd9 /main/astobj2.c
parent3ad198c835ff19f4e5703ce0354e02976e0e0f38 (diff)
media formats: fix ref leak of peer for mwi subscription
Holding a reference to the peer during mwi subscriptions resulted in a circular reference because the final event message would not be sent until destruction of the peer. Instead, pass the name of the peer to the event callback so that it can fail gracefully after the peer has gone. ASTERISK-23959 Review: https://reviewboard.asterisk.org/r/3754/ ........ Merged revisions 418636 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/astobj2.c')
0 files changed, 0 insertions, 0 deletions