<p>Corey Farrell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/8204">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">main/asterisk.c: Remove silly usage of RAII_VAR.<br><br>Change-Id: I7e2996397fbd3c3a6a69dd805c38448ddfc34ae9<br>---<br>M main/asterisk.c<br>1 file changed, 2 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/04/8204/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/asterisk.c b/main/asterisk.c<br>index d2230dc..870e551 100644<br>--- a/main/asterisk.c<br>+++ b/main/asterisk.c<br>@@ -1160,11 +1160,12 @@<br> <br> static void publish_fully_booted(void)<br> {<br>-      RAII_VAR(struct ast_json *, json_object, NULL, ast_json_unref);<br>+      struct ast_json *json_object;<br> <br>      json_object = ast_json_pack("{s: s}",<br>                       "Status", "Fully Booted");<br>        ast_manager_publish_event("FullyBooted", EVENT_FLAG_SYSTEM, json_object);<br>+  ast_json_unref(json_object);<br> }<br> <br> static void ast_run_atexits(int run_cleanups)<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8204">change 8204</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/8204"/><meta itemprop="name" content="View Change"/></div></div>

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