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