<p>Corey Farrell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/8205">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/05/8205/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/asterisk.c b/main/asterisk.c<br>index 48516d9..09914a2 100644<br>--- a/main/asterisk.c<br>+++ b/main/asterisk.c<br>@@ -1028,7 +1028,7 @@<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>         int uptime = 0;<br>       int lastreloaded = 0;<br>         struct timeval tmp;<br>@@ -1049,6 +1049,7 @@<br>                    "Uptime", uptime,<br>                   "LastReload", lastreloaded);<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/8205">change 8205</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/8205"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </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: 8205 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>