aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_zap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index b8de9ae88..427dca703 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -630,6 +630,7 @@ static void wakeup_sub(struct zt_pvt *p, int a)
} else {
ast_queue_frame(p->subs[a].owner, &null);
ast_mutex_unlock(&p->subs[a].owner->lock);
+ break;
}
} else
break;