]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Stasis: Fix Stasis() bridge refcount issue
authorKinsey Moore <kmoore@digium.com>
Mon, 7 Apr 2014 14:28:41 +0000 (14:28 +0000)
committerKinsey Moore <kmoore@digium.com>
Mon, 7 Apr 2014 14:28:41 +0000 (14:28 +0000)
commitb33b4f21ccdafcf5e5f5cfe2f78c046394bcb897
tree61410b7b552fb56d19f076573362839c4f074244
parent2c6af830d9c21785b6cec7de0f49caffa9b42257
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.

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