diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-07-14 19:01:19 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-07-14 19:01:19 +0800 |
commit | c600f2479e3f7e4aa088daf92bd81aafae0e828f (patch) | |
tree | aaebb555ee540e0552eb0470efb9c264b4b27fd8 | |
parent | cdd5734d839882e04957030bd7af6d00be8f88ce (diff) | |
download | gsoc2013-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
-rw-r--r-- | libempathy/empathy-tp-tube.c | 3 |
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); } |