summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2013-08-17 00:22:44 +0100
committerTim-Philipp Müller <tim@centricular.net>2013-08-17 00:28:42 +0100
commitef8557249623dd2a1ea5652e207347ca071d019b (patch)
treecd45c420521567b29273bc0439e4a34e40b02561
parent1d35549d6070b3aae5dd079831c82c6b4777bead (diff)
tests: fix some leaks in aiffparse unit test
-rw-r--r--tests/check/elements/aiffparse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/check/elements/aiffparse.c b/tests/check/elements/aiffparse.c
index 9d61a99822..85949fb871 100644
--- a/tests/check/elements/aiffparse.c
+++ b/tests/check/elements/aiffparse.c
@@ -212,10 +212,13 @@ run_check (gboolean push_mode)
gst_element_set_state (src, GST_STATE_NULL);
gst_object_unref (aiffparse);
+ gst_object_unref (sep);
gst_object_unref (src);
gst_object_unref (sinkpad);
g_main_loop_unref (loop);
loop = NULL;
+ g_free (path);
+ g_free (data);
}
GST_START_TEST (test_pull)
@@ -239,7 +242,6 @@ aiffparse_suite (void)
TCase *tc_chain = tcase_create ("general");
suite_add_tcase (s, tc_chain);
- tcase_set_timeout (tc_chain, 180);
tcase_add_test (tc_chain, test_pull);
tcase_add_test (tc_chain, test_push);