diff --git a/apps/app_dial.c b/apps/app_dial.c index fb14ac0c52..790e49ffaa 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;