mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
jabber.c: removed extra resources release
These resources are released in jabber_free_resources().
This commit is contained in:
parent
d0ab292d73
commit
59676bd16e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user