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
This commit is contained in:
Jonathan Rose
2013-07-17 18:26:19 +00:00
parent 109f527eb9
commit 4f29b97020

View File

@@ -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) {