diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-05 18:49:22 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-05 18:49:22 +0000 |
commit | bf757cff9d80d65de300cbdd94ea0f9f9dae6549 (patch) | |
tree | 21f7fb396254747ecf3d67604871e389d9ab5ce0 /apps | |
parent | db237358d63b04ef3ea526e1f436d08dc3d0afaa (diff) |
Merged revisions 173593 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r173593 | mmichelson | 2009-02-05 12:48:55 -0600 (Thu, 05 Feb 2009) | 11 lines
Merged revisions 173592 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r173592 | mmichelson | 2009-02-05 12:47:24 -0600 (Thu, 05 Feb 2009) | 3 lines
Add some missing cleanup to app_mixmonitor
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@173594 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_mixmonitor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c index 21ae574a0..f93bf130e 100644 --- a/apps/app_mixmonitor.c +++ b/apps/app_mixmonitor.c @@ -250,6 +250,8 @@ static void *mixmonitor_thread(void *obj) 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); ast_free(mixmonitor); |