mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user