aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 728e40170..669ca7d71 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -5027,9 +5027,9 @@ int ast_pbx_outgoing_exten(const char *type, int format, void *data, int timeout
ast_channel_unlock(chan);
}
ast_hangup(chan);
- chan = NULL;
res = -1;
}
+ chan = NULL;
}
} else {
if (option_verbose > 3)