mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
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
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user