<p>Sean Bright has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/6685">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res/res_ari.c Fix: Memory leaks in ARI when using Content-Type: application/json<br><br>ASTERISK-27305<br>Reported by: David Hajek<br>Tested by: David Hajek<br><br>Change-Id: Ife3e289062e6cf7d0e7d342dbf79ed96feff441e<br>---<br>M res/res_ari.c<br>1 file changed, 1 insertion(+), 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/85/6685/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/res/res_ari.c b/res/res_ari.c<br>index c6fbc6c..d99150b 100644<br>--- a/res/res_ari.c<br>+++ b/res/res_ari.c<br>@@ -886,7 +886,7 @@<br> RAII_VAR(struct ast_variable *, post_vars, NULL, ast_variables_destroy);<br> struct ast_variable *var;<br> const char *app_name = NULL;<br>- RAII_VAR(struct ast_json *, body, ast_json_null(), ast_json_free);<br>+ RAII_VAR(struct ast_json *, body, ast_json_null(), ast_json_unref);<br> int debug_app = 0;<br> <br> if (!response_body) {<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/6685">change 6685</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/6685"/><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: Ife3e289062e6cf7d0e7d342dbf79ed96feff441e </div>
<div style="display:none"> Gerrit-Change-Number: 6685 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: David Hajek <david.hajek@daktela.com> </div>