<p>Corey Farrell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7315">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">abstract_jb: Remove silly usage of RAII_VAR.<br><br>Change-Id: I9d56175369363d1dc735504cf78a3a5577069f49<br>---<br>M main/abstract_jb.c<br>1 file changed, 3 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/15/7315/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/abstract_jb.c b/main/abstract_jb.c<br>index 0f0e661..b375739 100644<br>--- a/main/abstract_jb.c<br>+++ b/main/abstract_jb.c<br>@@ -443,7 +443,7 @@<br> <br>     /* Create a frame log file */<br>         if (ast_test_flag(jbconf, AST_JB_LOG)) {<br>-             RAII_VAR(struct ast_channel *, bridged, ast_channel_bridge_peer(chan), ast_channel_cleanup);<br>+         struct ast_channel *bridged = ast_channel_bridge_peer(chan);<br>          char safe_logfile[30] = "/tmp/logfile-XXXXXX";<br>              int safe_fd;<br> <br>@@ -479,6 +479,8 @@<br>                  jb_framelog("JB_PUT_FIRST {now=%ld}: Dropped frame with ts=%ld and len=%ld\n",<br>                              now, frr->ts, frr->len);<br>                }<br>+<br>+         ast_channel_cleanup(bridged);<br>         }<br> <br>  ast_verb(3, "%s jitterbuffer created on channel %s\n", jbimpl->name, ast_channel_name(chan));<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7315">change 7315</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/7315"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I9d56175369363d1dc735504cf78a3a5577069f49 </div>
<div style="display:none"> Gerrit-Change-Number: 7315 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>