Stasis: Fix Stasis() bridge refcount issue
authorKinsey Moore <kmoore@digium.com>
Mon, 7 Apr 2014 14:29:37 +0000 (14:29 +0000)
committerKinsey Moore <kmoore@digium.com>
Mon, 7 Apr 2014 14:29:37 +0000 (14:29 +0000)
commit62e2bf68f0ccf3c9276d8a8581482e98373e788b
tree79bc883fa14973ce3c804383e3533ced250a35d2
parent5d9a1281eebe29bd6b0a370514be6a29dac5af28
Stasis: Fix Stasis() bridge refcount issue

The Stasis() dialplan application monitors what bridge a channel is in
and so necessarily holds on to a bridge pointer. This change ensures
that it also holds on to a reference for that bridge to prevent the
bridge pointer from becoming a dangling pointer.
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@411806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_stasis.c