[asterisk-dev] [Code Review] 3450: Stasis: Ensure control's bridge pointer has a ref

opticron reviewboard at asterisk.org
Wed Apr 16 13:05:59 CDT 2014


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

(Updated April 16, 2014, 1:05 p.m.)


Status
------

This change has been discarded.


Review request for Asterisk Developers.


Bugs: ASTERISK-23588
    https://issues.asterisk.org/jira/browse/ASTERISK-23588


Repository: Asterisk


Description
-------

This patch ensures that the Stasis control structure holds a reference to the bridge the channel is in so that the pointer does not become stale. This also introduces a new function for use cases that only need to check that the channel is in a bridge and have no need for the bridge itself since stasis_app_get_bridge now bumps the bridge's refcount when returning it.


Diffs
-----

  branches/12/res/stasis/control.c 412426 
  branches/12/res/res_stasis_recording.c 412426 
  branches/12/res/res_stasis.c 412426 
  branches/12/res/ari/resource_bridges.c 412426 
  branches/12/include/asterisk/stasis_app.h 412426 

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


Testing
-------


Thanks,

opticron

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


More information about the asterisk-dev mailing list