]> git.0d.be Git - empathy.git/commitdiff
Release a variable with g_free() instead of tp_g_value_slice_free(). Fixes bug #54223...
authorXavier Claessens <xclaesse@src.gnome.org>
Mon, 14 Jul 2008 11:01:19 +0000 (11:01 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Mon, 14 Jul 2008 11:01:19 +0000 (11:01 +0000)
svn path=/trunk/; revision=1228

libempathy/empathy-tp-tube.c

index 796ccbe3454af7fa5463c8abab67135bde74f98f..4bd08a7112e952b661a822868e2c2528fa6a9821 100644 (file)
@@ -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);
 }