projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a0b713
)
tests: fix leak in audioresample unit test
author
Tim-Philipp Müller
<tim@centricular.net>
Sun, 3 Mar 2013 17:06:38 +0000
(17:06 +0000)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sun, 3 Mar 2013 17:06:38 +0000
(17:06 +0000)
tests/check/elements/audioresample.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/audioresample.c
b/tests/check/elements/audioresample.c
index
240ee33
..
9f8f76c
100644
(file)
--- a/
tests/check/elements/audioresample.c
+++ b/
tests/check/elements/audioresample.c
@@
-633,6
+633,9
@@
test_pipeline (const gchar * format, gint inrate, gint outrate, gint quality)
gst_element_set_state (pipeline, GST_STATE_NULL);
+ gst_bus_remove_signal_watch (bus);
+ gst_object_unref (bus);
+
fail_if (messages > 0, "Received imperfect timestamp messages");
gst_object_unref (pipeline);
}
@@
-882,6
+885,9
@@
GST_START_TEST (test_timestamp_drift)
fail_unless (gst_element_set_state (pipeline,
GST_STATE_NULL) == GST_STATE_CHANGE_SUCCESS);
g_main_loop_unref (loop);
+ gst_bus_remove_signal_watch (bus);
+ gst_object_unref (bus);
+
gst_object_unref (pipeline);
} GST_END_TEST;