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
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,