static PeerGroupService *
_dbus_peer_group_new (
GumdDbusGroupServiceAdapter *self,
- const gchar *peer_name,
+ gchar *peer_name,
GumdDbusGroupAdapter *dbus_group)
{
PeerGroupService *peer_group = g_malloc0 (sizeof (PeerGroupService));
- peer_group->peer_name = g_strdup (peer_name);
+ peer_group->peer_name = peer_name;
peer_group->dbus_group = dbus_group;
peer_group->group_service = self;
return peer_group;
DBG ("Dbus group adapter object %p disposed", object);
- peer_group.peer_name = NULL;
peer_group.dbus_group = GUMD_DBUS_GROUP_ADAPTER (object);
peer_group.group_service = self;
g_list_foreach (self->priv->peer_groups, (GFunc)_clear_cache_for_group,
DBG ("Dbus user adapter object %p disposed", object);
- peer_user.peer_name = NULL;
peer_user.dbus_user = GUMD_DBUS_USER_ADAPTER (object);
peer_user.user_service = self;
g_list_foreach (self->priv->peer_users, (GFunc)_clear_cache_for_user,