From a63274bf29ec54781d672c687e78985820d0828d Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Tue, 19 Aug 2008 19:08:51 +0000 Subject: [PATCH] Manually add revision 138887 from trunk to the 1.6.0 branch. I had misunderstood the policy for when to merge to 1.6.0 since it moved to rc status. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@138890 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_chanspy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 126e1815a2..b2cb3defad 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;