diff options
Diffstat (limited to 'apps/app_channelredirect.c')
-rw-r--r-- | apps/app_channelredirect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_channelredirect.c b/apps/app_channelredirect.c index 0f654251f..6df4cb8d1 100644 --- a/apps/app_channelredirect.c +++ b/apps/app_channelredirect.c @@ -81,7 +81,7 @@ static int asyncgoto_exec(struct ast_channel *chan, void *data) res = ast_parseable_goto(chan2, args.label); - ast_mutex_unlock(&chan2->lock); + ast_channel_unlock(chan2); quit: return res; |