[asterisk-dev] [Code Review] 3371: assigned-uniqueids: Misc cleanup and fixes.

Scott Griepentrog reviewboard at asterisk.org
Wed Mar 19 10:41:30 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3371/#review11287
-----------------------------------------------------------

Ship it!


Ship It!

- Scott Griepentrog


On March 18, 2014, 5:11 p.m., rmudgett wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3371/
> -----------------------------------------------------------
> 
> (Updated March 18, 2014, 5:11 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> 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/20140319/d3ed8d3e/attachment.html>


More information about the asterisk-dev mailing list