<p>Richard Mudgett <strong>posted comments</strong> on this change.</p><p><a href="https://gerrit.asterisk.org/8186">View Change</a></p><p>Patch set 2:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p>(2 comments)</p><ul style="list-style: none; padding-left: 20px;"><li><p><a href="https://gerrit.asterisk.org/#/c/8186/2/main/json.c">File main/json.c:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/8186/2/main/json.c@52">Patch Set #2, Line 52:</a> <code style="font-family:monospace,monospace">    return ast_std_malloc(size);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">ast_std_malloc() is always going to call malloc() regardless of MALLOC_DEBUG.  Call ast_malloc() instead so MALLOC_DEBUG protects json memory too.</p></li><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/8186/2/main/json.c@57">Patch Set #2, Line 57:</a> <code style="font-family:monospace,monospace">     ast_std_free(p);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">ast_std_free() is always going to call free() regardless of MALLOC_DEBUG.  Call ast_free() instead so MALLOC_DEBUG protects json memory too.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/8186">change 8186</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/8186"/><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: comment </div>
<div style="display:none"> Gerrit-Change-Id: Id985cb3ffa6681f9ac765642e20fcd187bd4aeee </div>
<div style="display:none"> Gerrit-Change-Number: 8186 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 12 Feb 2018 18:23:56 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>