aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-07-14 19:01:19 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-07-14 19:01:19 +0800
commitc600f2479e3f7e4aa088daf92bd81aafae0e828f (patch)
treeaaebb555ee540e0552eb0470efb9c264b4b27fd8 /libempathy
parentcdd5734d839882e04957030bd7af6d00be8f88ce (diff)
downloadgsoc2013-empathy-c600f2479e3f7e4aa088daf92bd81aafae0e828f.tar
gsoc2013-empathy-c600f2479e3f7e4aa088daf92bd81aafae0e828f.tar.gz
gsoc2013-empathy-c600f2479e3f7e4aa088daf92bd81aafae0e828f.tar.bz2
gsoc2013-empathy-c600f2479e3f7e4aa088daf92bd81aafae0e828f.tar.lz
gsoc2013-empathy-c600f2479e3f7e4aa088daf92bd81aafae0e828f.tar.xz
gsoc2013-empathy-c600f2479e3f7e4aa088daf92bd81aafae0e828f.tar.zst
gsoc2013-empathy-c600f2479e3f7e4aa088daf92bd81aafae0e828f.zip
Release a variable with g_free() instead of tp_g_value_slice_free(). Fixes bug #542231 (Alban Crequy)
svn path=/trunk/; revision=1228
Diffstat (limited to 'libempathy')
-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);
}