[asterisk-commits] kmoore: trunk r324709 - /trunk/apps/app_confbridge.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 23 13:56:09 CDT 2011
Author: kmoore
Date: Thu Jun 23 13:56:05 2011
New Revision: 324709
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324709
Log:
ConfBridge: redundant code cleanup
There is no reason to clean up features twice.
Review: https://reviewboard.asterisk.org/r/1279/
Modified:
trunk/apps/app_confbridge.c
Modified: trunk/apps/app_confbridge.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_confbridge.c?view=diff&rev=324709&r1=324708&r2=324709
==============================================================================
--- trunk/apps/app_confbridge.c (original)
+++ trunk/apps/app_confbridge.c Thu Jun 23 13:56:05 2011
@@ -1400,9 +1400,6 @@
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,
More information about the asterisk-commits
mailing list