Skip to content
Snippets Groups Projects
Commit bf64785f authored by Mark Michelson's avatar Mark Michelson
Browse files

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
parent 804d9036
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment