diff -r 2741f531a00e -r a86b7bcbb471 libpurple/protocols/jabber/usernick.c --- a/libpurple/protocols/jabber/usernick.c Mon Aug 21 23:48:33 2023 -0500 +++ b/libpurple/protocols/jabber/usernick.c Tue Aug 22 00:24:14 2023 -0500 @@ -106,6 +106,7 @@ manager = purple_account_manager_get_default(); account = purple_account_manager_find_by_id(manager, account_id); connection = purple_account_get_connection(account); + g_clear_object(&account); js = purple_connection_get_protocol_data(connection); /* since the nickname might have been changed by another resource of this account, we always have to request the old one