summaryrefslogtreecommitdiff
path: root/main/features.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-12-11 20:21:44 +0000
committerMark Michelson <mmichelson@digium.com>2008-12-11 20:21:44 +0000
commit7828e7a966031731642a3f983d485a5d217f0ce8 (patch)
tree60c1977760207649636da958c83e97f13c2024a5 /main/features.c
parentfb242bc8fd7821e640176b93950d158bce4ce87c (diff)
Add an appropriate goto if ast_call fails
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/features.c')
-rw-r--r--main/features.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/features.c b/main/features.c
index 38f45400e..f791340cf 100644
--- a/main/features.c
+++ b/main/features.c
@@ -2033,6 +2033,7 @@ static struct ast_channel *ast_feature_request_and_dial(struct ast_channel *call
if (ast_call(chan, data, timeout)) {
ast_log(LOG_NOTICE, "Unable to call channel %s/%s\n", type, (char *)data);
+ goto done;
}
ast_indicate(caller, AST_CONTROL_RINGING);