summaryrefslogtreecommitdiff
path: root/apps/app_dial.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index fb14ac0c5..790e49ffa 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -594,6 +594,7 @@ static void hanguptree(struct chanlist *outgoing, struct ast_channel *exception,
/* This is for the channel drivers */
outgoing->chan->hangupcause = AST_CAUSE_ANSWERED_ELSEWHERE;
}
+ ast_party_connected_line_free(&outgoing->connected);
ast_hangup(outgoing->chan);
}
oo = outgoing;