[asterisk-commits] rmudgett: branch 11 r393630 - /branches/11/apps/app_mixmonitor.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 3 18:52:06 CDT 2013


Author: rmudgett
Date: Wed Jul  3 18:52:04 2013
New Revision: 393630

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393630
Log:
MixMonitor: Fix refleak in manager_stop_mixmonitor() if could not stop monitoring.

........

Merged revisions 393490 from http://svn.asterisk.org/svn/asterisk/trunk

Modified:
    branches/11/apps/app_mixmonitor.c

Modified: branches/11/apps/app_mixmonitor.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/apps/app_mixmonitor.c?view=diff&rev=393630&r1=393629&r2=393630
==============================================================================
--- branches/11/apps/app_mixmonitor.c (original)
+++ branches/11/apps/app_mixmonitor.c Wed Jul  3 18:52:04 2013
@@ -1331,6 +1331,7 @@
 	res = stop_mixmonitor_full(c, mixmonitor_id);
 
 	if (res) {
+		ast_channel_unref(c);
 		astman_send_error(s, m, "Could not stop monitoring channel");
 		return AMI_SUCCESS;
 	}




More information about the asterisk-commits mailing list