summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2013-07-17 18:26:19 +0000
committerJonathan Rose <jrose@digium.com>2013-07-17 18:26:19 +0000
commit4f29b970206a6dd3a005527d14a7db66c5a75678 (patch)
tree8a6f56827ce8154da6463887b0b51b5596e1851b /apps
parent109f527eb9cdf164643b9e97dee029ae3e3dc23b (diff)
app_confbridge: Eliminate a reference leak for confbridge announcer channels
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/confbridge/conf_chan_announce.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/confbridge/conf_chan_announce.c b/apps/confbridge/conf_chan_announce.c
index af9688437..968308523 100644
--- a/apps/confbridge/conf_chan_announce.c
+++ b/apps/confbridge/conf_chan_announce.c
@@ -158,9 +158,6 @@ void conf_announce_channel_depart(struct ast_channel *chan)
}
ast_clear_flag(&p->base, AST_UNREAL_CARETAKER_THREAD);
chan = p->base.chan;
- if (chan) {
- ast_channel_ref(chan);
- }
ao2_unlock(p);
ao2_ref(p, -1);
if (chan) {