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:
Tim-Philipp Müller 2016-04-10 20:25:44 +01:00
parent 4b9f2966fb
commit 71f554009d

View file

@ -63,9 +63,10 @@ release_test_objects (struct TestData *td)
gst_caps_unref (td->mycaps);
if (active_srcpad)
if (active_srcpad) {
gst_object_unref (active_srcpad);
active_srcpad = NULL;
}
gst_object_unref (td->demux);
}