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

rmudgett reviewboard at asterisk.org
Tue Mar 18 12:07:25 CDT 2014


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

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 

Diff: https://reviewboard.asterisk.org/r/3371/diff/


Testing
-------


Thanks,

rmudgett

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140318/d45971af/attachment.html>


More information about the asterisk-dev mailing list