diff options
author | James Booth <boothj5@gmail.com> | 2013-02-19 00:34:07 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-02-19 00:34:07 +0000 |
commit | ec124a552c7b141c7c9f6f2b7d5f025e53a7585c (patch) | |
tree | 641f1fa0313b28fbad8f1017bbc222cc7704abe5 /src | |
parent | dc30eeacad078d82bf02d03a76d396543836e6c6 (diff) | |
download | profani-tty-ec124a552c7b141c7c9f6f2b7d5f025e53a7585c.tar.gz |
Remove all from resource hash table, rather than destroy
Diffstat (limited to 'src')
-rw-r--r-- | src/xmpp/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index 2c0c5186..bdbf948c 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -283,7 +283,7 @@ connection_free_resources(void) FREE_SET_NULL(saved_details.altdomain); FREE_SET_NULL(saved_account.name); FREE_SET_NULL(saved_account.passwd); - g_hash_table_destroy(available_resources); + g_hash_table_remove_all(available_resources); chat_sessions_clear(); presence_free_sub_requests(); xmpp_conn_release(jabber_conn.conn); |