Skip to content
Snippets Groups Projects
Commit 4e5bf15f authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

Merge "main/bridge_channel: Fix channel reference leak on video source"

parents 94de6b7a bbe94372
No related branches found
No related tags found
No related merge requests found
......@@ -2770,6 +2770,9 @@ int bridge_channel_internal_join(struct ast_bridge_channel *bridge_channel)
bridge_channel_settle_owed_events(bridge_channel->bridge, bridge_channel);
bridge_reconfigured(bridge_channel->bridge, 1);
/* Remove ourselves if we are the video source */
ast_bridge_remove_video_src(bridge_channel->bridge, bridge_channel->chan);
ast_bridge_unlock(bridge_channel->bridge);
/* Must release any swap ref after unlocking the bridge. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment