<p>Joshua Colp <strong>uploaded patch set #2</strong> to the change originally created by nappsoft.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14207">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_rtp_asterisk: Free payload when error on insertion to data buffer<br><br>When the ast_data_buffer_put rejects to add a packet, for example because<br>the buffer already contains a packet with the same sequence number, the<br>payload will never be freed, resulting in a memory leak.<br><br>The data buffer will now return an error if this situation occurs<br>allowing the caller to free the payload. The res_rtp_asterisk module<br>has also been updated to do this.<br><br>ASTERISK-28826<br><br>Change-Id: Ie6c49495d1c921d5f997651c7d0f79646f095cf1<br>---<br>M main/data_buffer.c<br>M res/res_rtp_asterisk.c<br>2 files changed, 7 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/07/14207/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14207">change 14207</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/c/asterisk/+/14207"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: Ie6c49495d1c921d5f997651c7d0f79646f095cf1 </div>
<div style="display:none"> Gerrit-Change-Number: 14207 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: nappsoft <infos@nappsoft.ch> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>