mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 15:49:56 +00:00
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:
@@ -661,7 +661,6 @@ static void hanguptree(struct chanlist *outgoing, struct ast_channel *exception,
|
|||||||
/* This is for the channel drivers */
|
/* This is for the channel drivers */
|
||||||
outgoing->chan->hangupcause = AST_CAUSE_ANSWERED_ELSEWHERE;
|
outgoing->chan->hangupcause = AST_CAUSE_ANSWERED_ELSEWHERE;
|
||||||
}
|
}
|
||||||
ast_party_connected_line_free(&outgoing->connected);
|
|
||||||
ast_hangup(outgoing->chan);
|
ast_hangup(outgoing->chan);
|
||||||
}
|
}
|
||||||
oo = outgoing;
|
oo = outgoing;
|
||||||
|
|||||||
Reference in New Issue
Block a user