Author: coreyfarrell
Date: Wed Nov 12 14:37:01 2014
New Revision: 427736

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=427736
Log:
Fix leak in AMI Action Bridge

Add missing reference cleanup for newly created bridge.

ASTERISK-24281
Reported by: Stefan Engström
Review: https://reviewboard.asterisk.org/r/4154/

Modified:
    branches/12/main/features.c

Modified: branches/12/main/features.c
URL: 
http://svnview.digium.com/svn/asterisk/branches/12/main/features.c?view=diff&rev=427736&r1=427735&r2=427736
==============================================================================
--- branches/12/main/features.c (original)
+++ branches/12/main/features.c Wed Nov 12 14:37:01 2014
@@ -844,6 +844,7 @@
        }
 
        astman_send_ack(s, m, "Channels have been bridged");
+       ao2_cleanup(bridge);
 
        return 0;
 }


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to