From c600f2479e3f7e4aa088daf92bd81aafae0e828f Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 14 Jul 2008 11:01:19 +0000 Subject: [PATCH] Release a variable with g_free() instead of tp_g_value_slice_free(). Fixes bug #542231 (Alban Crequy) svn path=/trunk/; revision=1228 --- libempathy/empathy-tp-tube.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libempathy/empathy-tp-tube.c b/libempathy/empathy-tp-tube.c index 796ccbe3..4bd08a71 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); } -- 2.39.2