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

(Updated Aug. 14, 2014, 10:54 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 420992


Repository: Asterisk


Description
-------

Use ao2_replace() instead of ao2_cleanup(); ao2_bump().
ao2_replace() has the advantange of not altering the ref count if the replaced 
pointer is the same.


Diffs
-----

  /branches/13/main/channel_internal_api.c 420838 
  /branches/13/main/channel.c 420838 

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


Testing
-------

Compiler is still happy.


Thanks,

rmudgett

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to