aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-05-27 20:38:27 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:55:33 +0800
commite59b7ab18c06c473e246a91e8337e629d716b82b (patch)
tree1e4102d4e2e84c4a1bc3057463beb7382844a3ab /libempathy
parent4a3f9aa43df81215cbb0ad1ae1c00702798f44f9 (diff)
downloadgsoc2013-empathy-e59b7ab18c06c473e246a91e8337e629d716b82b.tar
gsoc2013-empathy-e59b7ab18c06c473e246a91e8337e629d716b82b.tar.gz
gsoc2013-empathy-e59b7ab18c06c473e246a91e8337e629d716b82b.tar.bz2
gsoc2013-empathy-e59b7ab18c06c473e246a91e8337e629d716b82b.tar.lz
gsoc2013-empathy-e59b7ab18c06c473e246a91e8337e629d716b82b.tar.xz
gsoc2013-empathy-e59b7ab18c06c473e246a91e8337e629d716b82b.tar.zst
gsoc2013-empathy-e59b7ab18c06c473e246a91e8337e629d716b82b.zip
Free the list after calling the callback
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-dispatcher.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 39566e581..9b8c997bd 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -777,6 +777,7 @@ dispatcher_connection_got_all (TpProxy *proxy,
request->callback (retval, request->user_data);
free_find_channel_request (request);
+ g_list_free (retval);
}
g_list_free (requests);
@@ -1560,6 +1561,8 @@ find_channel_class_idle_cb (gpointer user_data)
request->callback (retval, request->user_data);
free_find_channel_request (request);
+ g_list_free (retval);
+
return FALSE;
}