<p>Richard Mudgett has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/10337">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_queue.c: Fix json ref leak<br><br>Declining the queue_member_status_type stasis message in stasis.conf<br>causes these messages to leak json objects.<br><br>* Add missing ast_json_unref() if the type is NULL in<br>queue_publish_member_blob().<br><br>ASTERISK-28084<br><br>Change-Id: I691ecf49bd1f7d9c29182e1eee8c4bb7103be9fc<br>---<br>M apps/app_queue.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/37/10337/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/app_queue.c b/apps/app_queue.c</span><br><span>index 50f9029..eb85c51 100644</span><br><span>--- a/apps/app_queue.c</span><br><span>+++ b/apps/app_queue.c</span><br><span>@@ -2154,6 +2154,7 @@</span><br><span>   RAII_VAR(struct stasis_message *, msg, NULL, ao2_cleanup);</span><br><span> </span><br><span>       if (!blob || !type) {</span><br><span style="color: hsl(120, 100%, 40%);">+         ast_json_unref(blob);</span><br><span>                return;</span><br><span>      }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/10337">change 10337</a>. To unsubscribe, or for help writing mail filters, 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/10337"/><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: I691ecf49bd1f7d9c29182e1eee8c4bb7103be9fc </div>
<div style="display:none"> Gerrit-Change-Number: 10337 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>