mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 18:46:21 +00:00
Free ProfAccount
This commit is contained in:
@@ -191,6 +191,7 @@ bookmark_join(const char *jid)
|
||||
account_free(account);
|
||||
} else if (muc_roster_complete(item->jid)) {
|
||||
ui_room_join(item->jid, TRUE);
|
||||
account_free(account);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -498,6 +498,7 @@ _session_reconnect(void)
|
||||
log_debug("Attempting reconnect with account %s", account->name);
|
||||
connection_connect(fulljid, saved_account.passwd, account->server, account->port, account->tls_policy);
|
||||
free(fulljid);
|
||||
account_free(account);
|
||||
g_timer_start(reconnect_timer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user