[empathy: 135/148] Free the list after calling the callback
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy: 135/148] Free the list after calling the callback
- Date: Mon, 1 Jun 2009 12:19:10 -0400 (EDT)
commit e59b7ab18c06c473e246a91e8337e629d716b82b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed May 27 14:38:27 2009 +0200
Free the list after calling the callback
---
libempathy/empathy-dispatcher.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 39566e5..9b8c997 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]