[Asterisk-code-review] MALLOC DEBUG: Always use the API. (asterisk[master])

Corey Farrell asteriskteam at digium.com
Wed Feb 21 18:41:16 CST 2018


Corey Farrell has posted comments on this change. ( https://gerrit.asterisk.org/8366 )

Change subject: MALLOC_DEBUG: Always use the API.
......................................................................


Patch Set 1:

(1 comment)

I have not done a complete review yet but if this eliminates the ABI difference then MALLOC_DEBUG should be added to the list of exceptions in build_tools/make_buildopts_h.

https://gerrit.asterisk.org/#/c/8366/1/include/asterisk/utils.h
File include/asterisk/utils.h:

https://gerrit.asterisk.org/#/c/8366/1/include/asterisk/utils.h@536
PS1, Line 536: #define ast_free free
Wouldn't this still be a problem if MALLOC_DEBUG is enabled on the core and a module calls ast_free on something allocated by the core (IE with MALLOC_DEBUG enabled)?



-- 
To view, visit https://gerrit.asterisk.org/8366
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic07ad80b2c2df894db984cf27b16a69383ce0e10
Gerrit-Change-Number: 8366
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Comment-Date: Thu, 22 Feb 2018 00:41:16 +0000
Gerrit-HasComments: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180221/03fbedfc/attachment.html>


More information about the asterisk-code-review mailing list