Remove redundant ast_conntected_line_free call.
authorMark Michelson <mmichelson@digium.com>
Wed, 26 May 2010 20:17:54 +0000 (20:17 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 26 May 2010 20:17:54 +0000 (20:17 +0000)
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

index d3cda82..fc0b67b 100644 (file)
@@ -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;