[asterisk-commits] mmichelson: branch 1.4 r173592 - /branches/1.4/apps/app_mixmonitor.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 5 12:47:24 CST 2009


Author: mmichelson
Date: Thu Feb  5 12:47:24 2009
New Revision: 173592

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=173592
Log:
Add some missing cleanup to app_mixmonitor


Modified:
    branches/1.4/apps/app_mixmonitor.c

Modified: branches/1.4/apps/app_mixmonitor.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/apps/app_mixmonitor.c?view=diff&rev=173592&r1=173591&r2=173592
==============================================================================
--- branches/1.4/apps/app_mixmonitor.c (original)
+++ branches/1.4/apps/app_mixmonitor.c Thu Feb  5 12:47:24 2009
@@ -261,6 +261,8 @@
 		ast_cond_wait(&mixmonitor->mixmonitor_ds->destruction_condition, &mixmonitor->mixmonitor_ds->lock);
 	}
 	ast_mutex_unlock(&mixmonitor->mixmonitor_ds->lock);
+	ast_mutex_destroy(&mixmonitor->mixmonitor_ds->lock);
+	ast_cond_destroy(&mixmonitor->mixmonitor_ds->destruction_condition);
 	ast_free(mixmonitor->mixmonitor_ds);
 	free(mixmonitor);
 




More information about the asterisk-commits mailing list