Skip to content
Snippets Groups Projects
Commit 4f29b970 authored by Jonathan Rose's avatar Jonathan Rose
Browse files

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
parent 109f527e
No related branches found
No related tags found
No related merge requests found
...@@ -158,9 +158,6 @@ void conf_announce_channel_depart(struct ast_channel *chan) ...@@ -158,9 +158,6 @@ void conf_announce_channel_depart(struct ast_channel *chan)
} }
ast_clear_flag(&p->base, AST_UNREAL_CARETAKER_THREAD); ast_clear_flag(&p->base, AST_UNREAL_CARETAKER_THREAD);
chan = p->base.chan; chan = p->base.chan;
if (chan) {
ast_channel_ref(chan);
}
ao2_unlock(p); ao2_unlock(p);
ao2_ref(p, -1); ao2_ref(p, -1);
if (chan) { if (chan) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment