diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-04-25 21:08:16 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-04-25 21:08:16 -0500 |
commit | 811e24f595701c0518f1711881d9537b46a0b201 (patch) | |
tree | 2b8a0bc530f81173c8c2318f299a112caef54ea9 /main/core_unreal.c | |
parent | 807a765cfb924aca07936379b9802e141f833d38 (diff) | |
parent | a63656b41975a4f77c8d953b5dc7f966332892f4 (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.c | 1 |
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; } |