summaryrefslogtreecommitdiff
path: root/main/core_unreal.c
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2016-04-25 21:08:16 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-04-25 21:08:16 -0500
commit811e24f595701c0518f1711881d9537b46a0b201 (patch)
tree2b8a0bc530f81173c8c2318f299a112caef54ea9 /main/core_unreal.c
parent807a765cfb924aca07936379b9802e141f833d38 (diff)
parenta63656b41975a4f77c8d953b5dc7f966332892f4 (diff)
Merge "Bridge system: Fix memory leaks and double frees on impart failure."
Diffstat (limited to 'main/core_unreal.c')
-rw-r--r--main/core_unreal.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/core_unreal.c b/main/core_unreal.c
index 377abd1ff..28886b635 100644
--- a/main/core_unreal.c
+++ b/main/core_unreal.c
@@ -805,7 +805,6 @@ int ast_unreal_channel_push_to_bridge(struct ast_channel *ast, struct ast_bridge
/* Impart the semi2 channel into the bridge */
if (ast_bridge_impart(bridge, chan, NULL, features,
AST_BRIDGE_IMPART_CHAN_INDEPENDENT)) {
- ast_bridge_features_destroy(features);
ast_channel_unref(chan);
return -1;
}