mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
tests: appsrc: fix leaks in new unit test
This commit is contained in:
parent
3cc824c9ce
commit
afa2cbf39b
1 changed files with 2 additions and 0 deletions
|
@ -479,6 +479,8 @@ GST_START_TEST (test_appsrc_blocked_on_caps)
|
||||||
/* As appsrc change the caps GstBaseSrc::create() virtual function, the live
|
/* As appsrc change the caps GstBaseSrc::create() virtual function, the live
|
||||||
* lock use to remains held and prevented the state change from happening. */
|
* lock use to remains held and prevented the state change from happening. */
|
||||||
gst_element_set_state (pipeline, GST_STATE_NULL);
|
gst_element_set_state (pipeline, GST_STATE_NULL);
|
||||||
|
gst_object_unref (pipeline);
|
||||||
|
g_main_loop_unref (loop);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
|
Loading…
Reference in a new issue