<p>Richard Mudgett has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7021">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">stasis_channels.c: Remove a very silly RAII_VAR().<br><br>Change-Id: I28b458b3c1a442c4ef0be7b4986a95ea4149e14f<br>---<br>M main/stasis_channels.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/21/7021/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/stasis_channels.c b/main/stasis_channels.c<br>index dd71b86..b81dbe5 100644<br>--- a/main/stasis_channels.c<br>+++ b/main/stasis_channels.c<br>@@ -891,7 +891,7 @@<br> const struct ast_channel_snapshot *snapshot,<br> const struct stasis_message_sanitizer *sanitize)<br> {<br>- RAII_VAR(struct ast_json *, json_chan, NULL, ast_json_unref);<br>+ struct ast_json *json_chan;<br> <br> if (snapshot == NULL<br> || (sanitize && sanitize->channel_snapshot<br>@@ -924,7 +924,7 @@<br> ast_json_object_set(json_chan, "channelvars", ast_json_channel_vars(snapshot->ari_vars));<br> }<br> <br>- return ast_json_ref(json_chan);<br>+ return json_chan;<br> }<br> <br> int ast_channel_snapshot_cep_equal(<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7021">change 7021</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/7021"/><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: I28b458b3c1a442c4ef0be7b4986a95ea4149e14f </div>
<div style="display:none"> Gerrit-Change-Number: 7021 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>