changeset 5666:44870684dba3

[gaim-migrate @ 6083] This was causing segfaults. gaim_account_disconnect() was calling both gaim_connection_disconnect() and gaim_connection_destroy(), but gaim_connection_disconnect() calls gaim_connection_destroy(), so it was trying to destroy a connection that was no longer valid. Oops. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 02 Jun 2003 10:30:14 +0000
parents 132a30783c3d
children 18f7a2abc3fc
files src/account.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/account.c	Mon Jun 02 10:21:33 2003 +0000
+++ b/src/account.c	Mon Jun 02 10:30:14 2003 +0000
@@ -171,7 +171,6 @@
 	g_return_if_fail(gaim_account_is_connected(account));
 
 	gaim_connection_disconnect(account->gc);
-	gaim_connection_destroy(account->gc);
 
 	account->gc = NULL;
 }