# HG changeset patch
# User Luke Schierer <lschiere@pidgin.im>
# Date 1178243802 0
# Node ID e17e82f49afb0254c052a356c037921eab58fb8c
# Parent  504613f178a056edbbbdd82952c930be298edc48# Parent  d61d93f478ccba2f7cb4ad4801afd4c48a95f9e8
merge of 'b43df8fea8317fa8538ab5f3ef70d19b207e2046'
     and 'd83774ccf5f88eb0d21551b71ef56364ee041952'

diff -r d61d93f478cc -r e17e82f49afb pidgin/gtkaccount.c
--- a/pidgin/gtkaccount.c	Fri May 04 01:30:48 2007 +0000
+++ b/pidgin/gtkaccount.c	Fri May 04 01:56:42 2007 +0000
@@ -1343,10 +1343,6 @@
 		proxy_info = NULL;
 	}
 
-
-	/* We no longer need the data from the dialog window */
-	account_win_destroy_cb(NULL, NULL, dialog);
-
 	/* If this is a new account, add it to our list */
 	if (new)
 		purple_accounts_add(account);
@@ -1364,6 +1360,9 @@
 		}
 	}
 
+	/* We no longer need the data from the dialog window */
+	account_win_destroy_cb(NULL, NULL, dialog);
+
 	return account;
 }