[asterisk-commits] coreyfarrell: branch 12 r427736 - /branches/12/main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 12 14:37:13 CST 2014


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;
 }




More information about the asterisk-commits mailing list