From 67d4d6b6560df5f79a8054f450d0a966b766192d Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Thu, 23 Jun 2011 18:56:05 +0000 Subject: [PATCH] ConfBridge: redundant code cleanup There is no reason to clean up features twice. Review: https://reviewboard.asterisk.org/r/1279/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@324709 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_confbridge.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/app_confbridge.c b/apps/app_confbridge.c index 775a628ba9..2ed03e1208 100644 --- a/apps/app_confbridge.c +++ b/apps/app_confbridge.c @@ -1400,9 +1400,6 @@ static int confbridge_exec(struct ast_channel *chan, const char *data) leave_conference_bridge(conference_bridge, &conference_bridge_user); conference_bridge = NULL; - /* Can't forget to clean up the features structure, or else we risk a memory leak */ - ast_bridge_features_cleanup(&conference_bridge_user.features); - /* If the user was kicked from the conference play back the audio prompt for it */ if (!quiet && conference_bridge_user.kicked) { res = ast_stream_and_wait(chan,