<p>George Joseph <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14521">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve
Benjamin Keith Ford: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved; Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_confbridge: Plug ref leak of bridge channel with send_events<br><br>When send_events is enabled for a user, we were leaking a reference<br>to the bridge channel in confbridge_manager.c:send_message(). This<br>also caused the bridge snapshot to not be destroyed.<br><br>Change-Id: I87a7ae9175e3cd29f6d6a8750e0ec5427bd98e97<br>---<br>M apps/confbridge/confbridge_manager.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/confbridge/confbridge_manager.c b/apps/confbridge/confbridge_manager.c</span><br><span>index 35d3f72..8cc7e31 100644</span><br><span>--- a/apps/confbridge/confbridge_manager.c</span><br><span>+++ b/apps/confbridge/confbridge_manager.c</span><br><span>@@ -367,7 +367,7 @@</span><br><span> char *json;</span><br><span> int rc = 0;</span><br><span> struct ast_frame f;</span><br><span style="color: hsl(0, 100%, 40%);">- struct ast_bridge_channel *bridge_chan;</span><br><span style="color: hsl(120, 100%, 40%);">+ RAII_VAR(struct ast_bridge_channel *, bridge_chan, NULL, ao2_cleanup);</span><br><span> </span><br><span> bridge_chan = ast_channel_get_bridge_channel(chan);</span><br><span> if (!bridge_chan) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14521">change 14521</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/14521"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: certified/16.8 </div>
<div style="display:none"> Gerrit-Change-Id: I87a7ae9175e3cd29f6d6a8750e0ec5427bd98e97 </div>
<div style="display:none"> Gerrit-Change-Number: 14521 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>