aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-tube.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-tp-tube.c')
-rw-r--r--libempathy/empathy-tp-tube.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy/empathy-tp-tube.c b/libempathy/empathy-tp-tube.c
index 796ccbe34..4bd08a711 100644
--- a/libempathy/empathy-tp-tube.c
+++ b/libempathy/empathy-tp-tube.c
@@ -483,7 +483,6 @@ empathy_tp_tube_get_socket (EmpathyTpTube *tube,
DEBUG ("Getting stream tube socket address");
- address = g_slice_new0 (GValue);
if (!tp_cli_channel_type_tubes_run_get_stream_tube_socket_address (priv->channel,
-1, priv->id, &address_type, &address, &error, NULL))
{
@@ -504,6 +503,6 @@ empathy_tp_tube_get_socket (EmpathyTpTube *tube,
break;
}
- tp_g_value_slice_free (address);
+ g_free (address);
}