diff options
Diffstat (limited to 'salut')
-rw-r--r-- | salut/channel-manager.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/salut/channel-manager.c b/salut/channel-manager.c index 8fcf121..e317b46 100644 --- a/salut/channel-manager.c +++ b/salut/channel-manager.c @@ -425,10 +425,7 @@ ytst_channel_manager_create_channel (TpChannelManager *manager, request = ytst_message_channel_build_request (request_properties, salut_connection_get_name (priv->connection), contact, &error); if (request == NULL) - { - g_object_unref (contact); - goto error; - } + goto error; channel = ytst_message_channel_new (priv->connection, contact, request, handle, base_conn->self_handle); |