From: Mark Michelson Date: Wed, 26 May 2010 20:17:54 +0000 (+0000) Subject: Remove redundant ast_conntected_line_free call. X-Git-Tag: 11.0.0-beta1~2956 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70a1bf31425daaa003c29af08f400f8df0623712;p=thirdparty%2Fasterisk.git 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 --- 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;