--- a/libpurple/purplepresencemanager.c Fri May 10 01:10:09 2024 -0500 +++ b/libpurple/purplepresencemanager.c Mon May 13 23:28:20 2024 -0500 @@ -172,10 +172,7 @@ { g_return_if_fail(PURPLE_IS_PRESENCE_MANAGER(manager)); - if(!purple_strequal(path, manager->path)) { - g_free(manager->path); - manager->path = g_strdup(path); - + if(g_set_str(&manager->path, path)) { g_object_notify_by_pspec(G_OBJECT(manager), properties[PROP_PATH]); } }