about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2013-01-07 20:33:56 +0200
committerDmitry Podgorny <pasis.ua@gmail.com>2013-01-07 20:33:56 +0200
commit59676bd16e69c37b07a12c4f2a3296195f9e1d76 (patch)
tree8b49e3357e38ef179d893681d56d941a8d5e432b /src
parentd0ab292d73902f7fe5696436ccd64d913bdc8719 (diff)
downloadprofani-tty-59676bd16e69c37b07a12c4f2a3296195f9e1d76.tar.gz
jabber.c: removed extra resources release
These resources are released in jabber_free_resources().
Diffstat (limited to 'src')
-rw-r--r--src/jabber.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/jabber.c b/src/jabber.c
index 3372f845..fb558020 100644
--- a/src/jabber.c
+++ b/src/jabber.c
@@ -788,14 +788,6 @@ _connection_handler(xmpp_conn_t * const conn,
         if (jabber_conn.conn_status == JABBER_DISCONNECTING) {
             jabber_conn.conn_status = JABBER_DISCONNECTED;
             jabber_conn.presence = PRESENCE_OFFLINE;
-            if (saved_user != NULL) {
-                free(saved_user);
-                saved_user = NULL;
-            }
-            if (saved_password != NULL) {
-                free(saved_password);
-                saved_password = NULL;
-            }
 
         // lost connection for unkown reason
         } else if (jabber_conn.conn_status == JABBER_CONNECTED) {