[asterisk-dev] [Code Review] 3371: assigned-uniqueids: Misc cleanup and fixes.
rmudgett
reviewboard at asterisk.org
Thu Mar 20 11:27:56 CDT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3371/
-----------------------------------------------------------
(Updated March 20, 2014, 11:27 a.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers.
Changes
-------
Committed in revision 410949
Repository: Asterisk
Description
-------
Miscellaneous uniqueid cleanups and fixes.
* Fix memory leak in ast_unreal_new_channels().
* Made send error response in ARI and AMI instead of just logging excessive uniqueid length. action_originate() and ari_channels_handle_originate_with_id().
* free() and ast_free() are NULL tolerant so they don't need a NULL test before calling.
* Made use better struct initialization format instead of position dependent initialization format. Also anything not explicitly initialized in the struct is initialized to zero by the compiler.
Diffs
-----
/branches/12/res/res_stasis_snoop.c 410875
/branches/12/res/ari/resource_channels.c 410875
/branches/12/main/manager.c 410875
/branches/12/main/dial.c 410875
/branches/12/main/core_unreal.c 410875
/branches/12/main/channel_internal_api.c 410875
/branches/12/include/asterisk/rtp_engine.h 410875
/branches/12/include/asterisk/channel.h 410875
Diff: https://reviewboard.asterisk.org/r/3371/diff/
Testing
-------
Compiler blessed and code inspection.
Thanks,
rmudgett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140320/550984b6/attachment.html>
More information about the asterisk-dev
mailing list