Mercurial > pidgin
changeset 14690:97df6766c945
[gaim-migrate @ 17442]
Fix Coverity CID 276 - variable "list" tracked as NULL was dereferenced.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 07 Oct 2006 17:21:31 +0000 |
parents | b7754ba03aa8 |
children | dbcdef1ab5af |
files | console/gntrequest.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/console/gntrequest.c Sat Oct 07 17:15:58 2006 +0000 +++ b/console/gntrequest.c Sat Oct 07 17:21:31 2006 +0000 @@ -286,7 +286,7 @@ iter = gaim_request_field_list_get_items(field); for (; iter; iter = iter->next) { - const char *text = list->data; + const char *text = iter->data; gpointer key = gaim_request_field_list_get_data(field, text); if (gnt_tree_get_choice(GNT_TREE(tree), key)) list = g_list_prepend(list, key);