<p>Corey Farrell <strong>posted comments</strong> on this change.</p><p><a href="https://gerrit.asterisk.org/8521">View Change</a></p><p>Patch set 2:</p><p>(1 comment)</p><ul style="list-style: none; padding-left: 20px;"><li><p><a href="https://gerrit.asterisk.org/#/c/8521/2/main/astmm.c">File main/astmm.c:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/8521/2/main/astmm.c@1557">Patch Set #2, Line 1557:</a> <code style="font-family:monospace,monospace">void *__ast_calloc(size_t nmemb, size_t size, const char *file, int lineno, const char *func)</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">You have reverted part of the improvement I did with the always MALLOC_DEBU</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Hmm it hadn't clicked in that your patch did that.  I'm thinking this patch is still workable (getting rid of the __ast_repl_* functions).  What if __ast_alloc_region handled MALLOC_FAILURE_MSG and DEBUG_CHAOS?  This would eliminate the inline functions without adding an extra layer of function calls but maintain the functionality improvements you made.  This would also eliminate the need for separate __ast_repl functions and the rest of your comments would no longer apply?</p><p style="white-space: pre-wrap; word-wrap: break-word;">I'll deal with the DEBUG_CHAOS / MALLOC_DEBUG menuselect conflicts when I update this.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/8521">change 8521</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/8521"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: If9df4377f74bdbb627461b27a473123e05525887 </div>
<div style="display:none"> Gerrit-Change-Number: 8521 </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: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 14 Mar 2018 20:06:45 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>