Index: apps/app_mixmonitor.c =================================================================== --- apps/app_mixmonitor.c (revision 9169) +++ apps/app_mixmonitor.c (working copy) @@ -193,6 +193,7 @@ spy.write_vol_adjustment = mixmonitor->writevol; } ast_mutex_init(&spy.lock); + ast_cond_init(&spy.trigger, NULL); if (startmon(mixmonitor->chan, &spy)) { ast_log(LOG_WARNING, "Unable to add '%s' spy to channel '%s'\n", @@ -261,6 +262,7 @@ out2: ast_mutex_destroy(&spy.lock); + ast_cond_destroy(&spy.trigger); if (fs) ast_closestream(fs);