diff options
author | James Booth <boothj5@gmail.com> | 2016-07-25 22:38:23 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-07-25 22:38:23 +0100 |
commit | 8633cd6e29a74c86f13b7471f7d857f9ac9efe50 (patch) | |
tree | 832b78ad65141b5d4c4971ec2201f07e23f74a11 /src/xmpp | |
parent | d5d04756ce278852cb465541f3b5bb4cf84f66ca (diff) | |
download | profani-tty-8633cd6e29a74c86f13b7471f7d857f9ac9efe50.tar.gz |
Free ProfAccount
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/bookmark.c | 1 | ||||
-rw-r--r-- | src/xmpp/session.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/xmpp/bookmark.c b/src/xmpp/bookmark.c index 940b7982..f6a41553 100644 --- a/src/xmpp/bookmark.c +++ b/src/xmpp/bookmark.c @@ -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; } diff --git a/src/xmpp/session.c b/src/xmpp/session.c index 9fe448f8..139d2fdb 100644 --- a/src/xmpp/session.c +++ b/src/xmpp/session.c @@ -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); } |