From: David Vossel Date: Mon, 23 May 2011 14:46:17 +0000 (+0000) Subject: Fixes chanspy enforced mode lacking a channel_unlock. X-Git-Tag: 1.6.2.19-rc1~3^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1fbf03fdfd4238db24a3e8ba7f799edee19863a;p=thirdparty%2Fasterisk.git Fixes chanspy enforced mode lacking a channel_unlock. (closes issue #19348) Reported by: wdoekes Patches: issue19348_chanspy_missing_channel_unlock.patch uploaded by wdoekes (license 717) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@320506 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 89338aec05..97d86b7061 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -938,6 +938,7 @@ static int common_exec(struct ast_channel *chan, struct ast_flags *flags, } if (!ienf) { + ast_channel_unlock(peer); continue; }