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:
commit
293f71dbef
@ -216,10 +216,14 @@ connection_set_disconnected(void)
|
|||||||
void
|
void
|
||||||
connection_clear_data(void)
|
connection_clear_data(void)
|
||||||
{
|
{
|
||||||
g_hash_table_destroy(conn.features_by_jid);
|
if (conn.features_by_jid) {
|
||||||
conn.features_by_jid = NULL;
|
g_hash_table_destroy(conn.features_by_jid);
|
||||||
|
conn.features_by_jid = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
g_hash_table_remove_all(conn.available_resources);
|
if (conn.available_resources) {
|
||||||
|
g_hash_table_remove_all(conn.available_resources);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_LIBMESODE
|
#ifdef HAVE_LIBMESODE
|
||||||
|
Loading…
Reference in New Issue
Block a user