[gaim-migrate @ 17442]

Sat, 07 Oct 2006 17:21:31 +0000

author
Stu Tomlinson <nosnilmot@pidgin.im>
date
Sat, 07 Oct 2006 17:21:31 +0000
changeset 14752
963fd36fc2ae
parent 14751
7be9261cb83b
child 14753
02d5934c7877

[gaim-migrate @ 17442]
Fix Coverity CID 276 - variable "list" tracked as NULL was dereferenced.

console/gntrequest.c file | annotate | diff | comparison | revisions
--- 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);

mercurial