[Asterisk-code-review] bridge softmix.c: Fix memory leak. (asterisk[master])
Richard Mudgett
asteriskteam at digium.com
Thu Jun 21 17:08:45 CDT 2018
Richard Mudgett has uploaded this change for review. ( https://gerrit.asterisk.org/9272
Change subject: bridge_softmix.c: Fix memory leak.
......................................................................
bridge_softmix.c: Fix memory leak.
Made release the media_types vector in
softmix_bridge_stream_topology_changed().
Change-Id: Ide3f47e379b614879220dfeeb13843f9f2b177b5
---
M bridges/bridge_softmix.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/72/9272/1
diff --git a/bridges/bridge_softmix.c b/bridges/bridge_softmix.c
index 46b27f1..e04e1fa 100644
--- a/bridges/bridge_softmix.c
+++ b/bridges/bridge_softmix.c
@@ -2218,6 +2218,8 @@
ast_channel_unlock(participant->chan);
ast_bridge_channel_unlock(participant);
}
+
+ AST_VECTOR_FREE(&media_types);
}
static struct ast_bridge_technology softmix_bridge = {
--
To view, visit https://gerrit.asterisk.org/9272
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ide3f47e379b614879220dfeeb13843f9f2b177b5
Gerrit-Change-Number: 9272
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180621/88eb8e8f/attachment.html>
More information about the asterisk-code-review
mailing list