diff options
Diffstat (limited to 'channels/chan_local.c')
-rw-r--r-- | channels/chan_local.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index 284b8bc40..ae3f722cd 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -209,6 +209,9 @@ static int local_queue_frame(struct local_pvt *p, int isoutbound, struct ast_fra return and destroy p. */ ast_mutex_unlock(&p->lock); p = local_pvt_destroy(p); + if (other) { + ast_channel_unlock(other); + } return -1; } |