gaim/gaim

oops.
oldstatus
2005-09-19, Sean Egan
b600a6fe8121
Parents e452b35472c5
Children e2648f1e62a7
oops.
--- a/src/connection.c Mon Sep 12 19:44:08 2005 -0400
+++ b/src/connection.c Mon Sep 19 20:03:59 2005 -0400
@@ -276,10 +276,11 @@
GaimConnection *gc = gaim_account_get_connection(account);
/* gaim_connection_disconnect() will wipe the password, which is usually fine, but
* when we're knocked off forecfully, we'll want to reconnect easily. */
- char *password = gaim_account_get_password(account);
+ char *password = g_strdup(gaim_account_get_password(account));
if (gc)
gaim_connection_disconnect(gc);
gaim_account_set_password(account, password);
+ free(password);
return FALSE;
}