[asterisk-dev] [Code Review] 3859: datastores: Audit v1.8 ast_channel_datastore_remove usage.

rmudgett reviewboard at asterisk.org
Fri Jul 25 17:23:52 CDT 2014


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

(Updated July 25, 2014, 5:23 p.m.)


Review request for Asterisk Developers.


Changes
-------

Restore SpeechDestroy hanging up the channel if SpeechCreate has not already been called.  It is documented to be have this way with a suggested use of TryExec if that is not desired.


Repository: Asterisk


Description
-------

Audit of v1.8 usage of ast_channel_datastore_remove() usage for datastore memory leaks.

* Fixed leaks in app_speech_utils and func_frame_trace.

* Fixed app_speech_utils not locking the channel when accessing the channel datastore list.


Diffs (updated)
-----

  /branches/1.8/funcs/func_frame_trace.c 419627 
  /branches/1.8/apps/app_speech_utils.c 419627 
  /branches/1.8/apps/app_queue.c 419627 

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


Testing
-------

Code inspection and compiler.


Thanks,

rmudgett

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


More information about the asterisk-dev mailing list