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
This commit is contained in:
parent
529a87ce7d
commit
70a1bf3142
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue