diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_chanspy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index b570169cb..3716c3317 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -610,6 +610,7 @@ redo: snprintf(channel_name, AST_CHANNEL_NAME, "%s/pseudo", dahdi_chan_name); if (!strncmp(next->name, channel_name, 10)) { + last = next; ast_channel_unlock(next); goto redo; } else if (next == chan) { |