From 70a1bf31425daaa003c29af08f400f8df0623712 Mon Sep 17 00:00:00 2001
From: Mark Michelson <mmichelson@digium.com>
Date: Wed, 26 May 2010 20:17:54 +0000
Subject: [PATCH] Remove redundant ast_conntected_line_free call.

This wouldn't cause any problems, but it's certainly not needed either.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@266098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 apps/app_dial.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/apps/app_dial.c b/apps/app_dial.c
index d3cda82c10..fc0b67b4d4 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -661,7 +661,6 @@ 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;
-- 
GitLab