[Telepathy-commits] [telepathy-mission-control/master] Dispatcher: Fix leak: use tp_g_value_slice_free
Alban Crequy
alban.crequy at collabora.co.uk
Thu Nov 20 04:36:11 PST 2008
---
src/mcd-dispatcher.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index c9f1435..f6c17cf 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -1807,7 +1807,7 @@ parse_client_filter (GKeyFile *file, const gchar *group)
guint i;
filter = g_hash_table_new_full (g_str_hash, g_str_equal, g_free,
- (GDestroyNotify) g_value_unset);
+ (GDestroyNotify) tp_g_value_slice_free);
keys = g_key_file_get_keys (file, group, &len, NULL);
for (i = 0; i < len; i++)
@@ -1901,7 +1901,7 @@ get_channel_filter_cb (TpProxy *proxy,
new_channel_class = g_hash_table_new_full
(g_str_hash, g_str_equal, g_free,
- (GDestroyNotify) g_value_unset);
+ (GDestroyNotify) tp_g_value_slice_free);
g_hash_table_iter_init (&iter, channel_class);
while (g_hash_table_iter_next (&iter, (gpointer *) &property_name,
--
1.5.6.5
More information about the Telepathy-commits
mailing list