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
1.6.0
Mark Michelson 18 years ago
parent 804d90368a
commit bf64785f1e

@ -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;

Loading…
Cancel
Save