Author: coreyfarrell
Date: Wed Nov 12 14:39:26 2014
New Revision: 427737

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=427737
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/
........

Merged revisions 427736 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    branches/13/   (props changed)
    branches/13/main/features.c

Propchange: branches/13/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: branches/13/main/features.c
URL: 
http://svnview.digium.com/svn/asterisk/branches/13/main/features.c?view=diff&rev=427737&r1=427736&r2=427737
==============================================================================
--- branches/13/main/features.c (original)
+++ branches/13/main/features.c Wed Nov 12 14:39:26 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