mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 21:46:22 +00:00
tests: streamiddemux: fix with CK_FORK=no
Clear global state when done. https://bugzilla.gnome.org/show_bug.cgi?id=623469
This commit is contained in:
parent
4b9f2966fb
commit
71f554009d
1 changed files with 3 additions and 2 deletions
|
@ -63,9 +63,10 @@ release_test_objects (struct TestData *td)
|
||||||
|
|
||||||
gst_caps_unref (td->mycaps);
|
gst_caps_unref (td->mycaps);
|
||||||
|
|
||||||
if (active_srcpad)
|
if (active_srcpad) {
|
||||||
gst_object_unref (active_srcpad);
|
gst_object_unref (active_srcpad);
|
||||||
|
active_srcpad = NULL;
|
||||||
|
}
|
||||||
gst_object_unref (td->demux);
|
gst_object_unref (td->demux);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue