bridge_softmix.c: Fix memory leak.

Made release the media_types vector in
softmix_bridge_stream_topology_changed().

Change-Id: Ide3f47e379b614879220dfeeb13843f9f2b177b5
This commit is contained in:
Richard Mudgett
2018-06-20 16:57:39 -05:00
parent d87631d21f
commit aaaa6f4a4b

View File

@@ -2218,6 +2218,8 @@ static void softmix_bridge_stream_topology_changed(struct ast_bridge *bridge, st
ast_channel_unlock(participant->chan); ast_channel_unlock(participant->chan);
ast_bridge_channel_unlock(participant); ast_bridge_channel_unlock(participant);
} }
AST_VECTOR_FREE(&media_types);
} }
static struct ast_bridge_technology softmix_bridge = { static struct ast_bridge_technology softmix_bridge = {