# HG changeset patch # User Nathan Walp # Date 1067463851 0 # Node ID 4ce6952d7908de82b81f28d3442a3ce59488e543 # Parent 2ec21bff351b7fe8a16d29539066f017b167d171 [gaim-migrate @ 7967] fix an autorecon segfault committer: Tailor Script diff -r 2ec21bff351b -r 4ce6952d7908 plugins/autorecon.c --- a/plugins/autorecon.c Wed Oct 29 20:09:50 2003 +0000 +++ b/plugins/autorecon.c Wed Oct 29 21:44:11 2003 +0000 @@ -28,13 +28,13 @@ if (g_list_index(gaim_accounts_get_all(), account) < 0) return FALSE; + if(info) + info->timeout = 0; + gaim_debug(GAIM_DEBUG_INFO, "autorecon", "calling gaim_account_connect\n"); gaim_account_connect(account); gaim_debug(GAIM_DEBUG_INFO, "autorecon", "done calling gaim_account_connect\n"); - if(info) - info->timeout = 0; - return FALSE; } @@ -56,7 +56,6 @@ info->timeout = g_timeout_add(info->delay, do_signon, account); } else if (info != NULL) { g_hash_table_remove(hash, account); - g_free(info); } }