dect
/
asterisk
Archived
13
0
Fork 0

AST_LIST_REMOVE_CURRENT only takes one argument in trunk

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94516 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
mmichelson 2007-12-21 17:40:44 +00:00
parent 4b0258fbbe
commit 1c2f295df0
1 changed files with 1 additions and 1 deletions

View File

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