diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-04-12 16:05:43 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-04-12 16:05:43 +0100 |
commit | a307da66a287f5e5dc2071cc81a9aa36c880b90e (patch) | |
tree | 2fa4ef5a76b242a479321d25ddbb7f970a7f0882 /salut | |
parent | c3398038f33b2146b73d6e3ba7d44fd3d6c7228f (diff) |
channel-manager: don't unref an object we didn't own anyway
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
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); |