Merge "Bridge system: Fix memory leaks and double frees on impart failure."

This commit is contained in:
zuul
2016-04-25 21:08:16 -05:00
committed by Gerrit Code Review
5 changed files with 12 additions and 7 deletions

View File

@@ -199,7 +199,6 @@ int conf_announce_channel_push(struct ast_channel *ast)
/* Impart the output channel into the bridge */
if (ast_bridge_impart(p->bridge, chan, NULL, features,
AST_BRIDGE_IMPART_CHAN_DEPARTABLE)) {
ast_bridge_features_destroy(features);
ast_channel_unref(chan);
return -1;
}