diff options
author | Matthew Jordan <mjordan@digium.com> | 2013-06-12 02:13:31 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2013-06-12 02:13:31 +0000 |
commit | 41e428275101c117607f9a6503f054f13fa8f78b (patch) | |
tree | b6513eb05110098cfe5f5e4f6d9a1bf36a523729 /funcs/func_strings.c | |
parent | 0e2832d121e97b96093daefe9176f88ba0b9507c (diff) |
Fix memory leaks in stasis_channels and bridge_native_rtp
This patch fixes two memory leaks:
* A memory leak in packing channels into a multi-channel blob payload when
publishing dial messages. The multi-channel blob payload does not steal
the references - this approach was chosen because it works well with the
RAII_VAR macro. Unfortunately, this does mean that you actually have to use
the RAII_VAR macro (or manually deref it yourself)
* RTP instances returned as a result of one of the glue operations are ref
counted and have to be de-ref'd appropriately. We now do that, as saying
that we should do it and then not would be silly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs/func_strings.c')
0 files changed, 0 insertions, 0 deletions