diff src/aim.c @ 138:e8ea1e2fdf0c

[gaim-migrate @ 148] Bugfixes and memleaks mostly. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 19 Apr 2000 12:36:18 +0000
parents e277d5f0c1dd
children 436bead8f65d
line wrap: on
line diff
--- a/src/aim.c	Wed Apr 19 08:49:49 2000 +0000
+++ b/src/aim.c	Wed Apr 19 12:36:18 2000 +0000
@@ -404,11 +404,9 @@
         gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(remember), (general_options & OPT_GEN_REMEMBER_PASS));
         
 	if (current_user) {
-		GList *all = combo_user_names();
-		GList *srch = g_list_find(all, (void *)current_user->username);
+		GList *all = aim_users;
+		GList *srch = g_list_find(all, (void *)current_user);
 		int length = g_list_length(all) - g_list_length(srch);
-		g_list_free(srch);
-		g_list_free(all);
 		
 		gtk_combo_set_value_in_list(GTK_COMBO(name), length, 0);
                 if ((general_options & OPT_GEN_REMEMBER_PASS)) {