<p>Richard Mudgett has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/6438">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">stasis/control.c: Fix set_interval_hook() ref leak.<br><br>Change-Id: Ia0edb7dc0dbbb879c079ff7000f1b722d86ce7dc<br>---<br>M res/stasis/control.c<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/38/6438/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/res/stasis/control.c b/res/stasis/control.c<br>index 219a2c6..ab17985 100644<br>--- a/res/stasis/control.c<br>+++ b/res/stasis/control.c<br>@@ -1135,10 +1135,12 @@<br> <br>     if (ast_bridge_interval_hook(bridge_channel->features, 0, ms > 0 ? ms : 1,<br>                      bridge_timeout, NULL, NULL, 0)) {<br>+            ao2_ref(bridge_channel, -1);<br>          return;<br>       }<br> <br>  ast_queue_frame(bridge_channel->chan, &ast_null_frame);<br>+       ao2_ref(bridge_channel, -1);<br> }<br> <br> int control_swap_channel_in_bridge(struct stasis_app_control *control, struct ast_bridge *bridge, struct ast_channel *chan, struct ast_channel *swap)<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/6438">change 6438</a>. To unsubscribe, 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/6438"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 14 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ia0edb7dc0dbbb879c079ff7000f1b722d86ce7dc </div>
<div style="display:none"> Gerrit-Change-Number: 6438 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>