mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 10:51:40 +00:00
AST_LIST_REMOVE_CURRENT only takes one argument in trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -814,7 +814,7 @@ int ast_dial_destroy(struct ast_dial *dial)
|
||||
/* Free structure */
|
||||
ast_free(channel->tech);
|
||||
ast_free(channel->device);
|
||||
AST_LIST_REMOVE_CURRENT(&dial->channels, list);
|
||||
AST_LIST_REMOVE_CURRENT(list);
|
||||
ast_free(channel);
|
||||
}
|
||||
AST_LIST_TRAVERSE_SAFE_END;
|
||||
|
Reference in New Issue
Block a user