projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d35549
)
tests: fix some leaks in aiffparse unit test
author
Tim-Philipp Müller
<tim@centricular.net>
Fri, 16 Aug 2013 23:22:44 +0000
(
00:22
+0100)
committer
Tim-Philipp Müller
<tim@centricular.net>
Fri, 16 Aug 2013 23:28:42 +0000
(
00:28
+0100)
tests/check/elements/aiffparse.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/aiffparse.c
b/tests/check/elements/aiffparse.c
index 9d61a99822fb6a9ba8d29925a624321664801310..85949fb871d76a299521ec8b30c53bf2c60fafb2 100644
(file)
--- 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);