about summary refs log tree commit diff stats
path: root/src/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.c')
-rw-r--r--src/connection.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/connection.c b/src/connection.c
index 66551184..2b87aa92 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -130,11 +130,6 @@ jabber_conn_status_t
 jabber_connect(const char * const jid,
     const char * const passwd, const char * const altdomain)
 {
-    if (saved_user.account != NULL) {
-        free(saved_user.account);
-        saved_user.account = NULL;
-    }
-
     if (saved_user.jid == NULL) {
         saved_user.jid = strdup(jid);
     }