<p>Sean Bright <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15022">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pbx.c: On error, ast_add_extension2_lockopt should always free 'data'<br><br>In the event that the desired extension already exists,<br>ast_add_extension2_lockopt() will free the 'data' it is passed before<br>returning an error, so we should not be freeing it ourselves.<br><br>Additionally, there were two places where ast_add_extension2_lockopt()<br>could return an error without also freeing the 'data' pointer, so we<br>add that.<br><br>ASTERISK-29097 #close<br><br>Change-Id: I904707aae55169feda050a5ed7c6793b53fe6eae<br>---<br>M include/asterisk/pbx.h<br>M main/pbx.c<br>M res/parking/parking_bridge_features.c<br>M res/res_parking.c<br>M res/res_pjsip_config_wizard.c<br>5 files changed, 17 insertions(+), 6 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/22/15022/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15022">change 15022</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/+/15022"/><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: I904707aae55169feda050a5ed7c6793b53fe6eae </div>
<div style="display:none"> Gerrit-Change-Number: 15022 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </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>