aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-group.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-09-28 19:53:50 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-09-28 19:53:50 +0800
commit1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844 (patch)
treeb45b3e5cd583e5ef9f3353b5ac66ff424baf485d /libempathy/empathy-tp-group.c
parent11ae12abf0ac6bb90e5eabb2d205235b0ed08606 (diff)
downloadgsoc2013-empathy-1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844.tar
gsoc2013-empathy-1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844.tar.gz
gsoc2013-empathy-1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844.tar.bz2
gsoc2013-empathy-1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844.tar.lz
gsoc2013-empathy-1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844.tar.xz
gsoc2013-empathy-1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844.tar.zst
gsoc2013-empathy-1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844.zip
Remove GnomeProgram, not useful anymore, drop libgnome dependency. Fixes
2007-09-28 Xavier Claessens <xclaesse@gmail.com> * configure.ac: * src/empathy.c: Remove GnomeProgram, not useful anymore, drop libgnome dependency. Fixes bug #442079 * libempathy/empathy-avatar.c: * libempathy/empathy-avatar.h: Fix Copyright header. * libempathy/empathy-contact-factory.c: * libempathy/empathy-tp-group.c: Free return value for async DBus calls, they are not owned by dbus-glib. This fix big leaks, thanks again to valgrind. svn path=/trunk/; revision=330
Diffstat (limited to 'libempathy/empathy-tp-group.c')
-rw-r--r--libempathy/empathy-tp-group.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-group.c b/libempathy/empathy-tp-group.c
index 1ba361d17..c4f7583e9 100644
--- a/libempathy/empathy-tp-group.c
+++ b/libempathy/empathy-tp-group.c
@@ -370,6 +370,8 @@ tp_group_get_members_cb (DBusGProxy *proxy,
0, /* actor */
0, /* reason */
group);
+
+ g_array_free (handles, TRUE);
}
static void
@@ -413,7 +415,10 @@ tp_group_get_local_pending_cb (DBusGProxy *proxy,
actor_handle, /* actor */
reason, /* reason */
group);
+
+ g_value_array_free (pending_struct);
}
+ g_ptr_array_free (array, TRUE);
g_array_free (handles, TRUE);
}
@@ -441,6 +446,8 @@ tp_group_get_remote_pending_cb (DBusGProxy *proxy,
0, /* actor */
0, /* reason */
group);
+
+ g_array_free (handles, TRUE);
}
static void