1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Merge branch 'master' into osx-functional

This commit is contained in:
James Booth 2016-06-01 22:42:14 +01:00
commit 293f71dbef

View File

@ -216,11 +216,15 @@ connection_set_disconnected(void)
void
connection_clear_data(void)
{
if (conn.features_by_jid) {
g_hash_table_destroy(conn.features_by_jid);
conn.features_by_jid = NULL;
}
if (conn.available_resources) {
g_hash_table_remove_all(conn.available_resources);
}
}
#ifdef HAVE_LIBMESODE
TLSCertificate*