[telepathy-glib/master] callable-example test: don't leak some of the test data
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Dec 3 08:00:37 PST 2009
---
tests/dbus/callable-example.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/dbus/callable-example.c b/tests/dbus/callable-example.c
index 5951609..89a969a 100644
--- a/tests/dbus/callable-example.c
+++ b/tests/dbus/callable-example.c
@@ -315,6 +315,7 @@ setup (Test *test,
test->stream_ids = g_array_sized_new (FALSE, FALSE, sizeof (guint), 2);
test->contacts = g_array_sized_new (FALSE, FALSE, sizeof (guint), 1);
+ g_hash_table_destroy (parameters);
g_free (bus_name);
g_free (object_path);
}
@@ -1553,6 +1554,7 @@ teardown (Test *test,
g_array_free (test->audio_request, TRUE);
g_array_free (test->video_request, TRUE);
+ g_array_free (test->invalid_request, TRUE);
g_array_free (test->stream_ids, TRUE);
g_array_free (test->contacts, TRUE);
--
1.5.6.5
More information about the telepathy-commits
mailing list