diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_chanspy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 126e1815a..b2cb3defa 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -772,6 +772,8 @@ exit: ast_channel_setoption(chan, AST_OPTION_TXGAIN, &zero_volume, sizeof(zero_volume), 0); + ast_mutex_lock(&chanspy_ds.lock); + ast_mutex_unlock(&chanspy_ds.lock); ast_mutex_destroy(&chanspy_ds.lock); return res; |