tests: qtdemux: fix element and pad leak

https://bugzilla.gnome.org/show_bug.cgi?id=768739
This commit is contained in:
Guillaume Desmottes 2016-07-12 17:30:56 +02:00 committed by Tim-Philipp Müller
parent 94232da665
commit 7da2bac2e3

View file

@ -131,6 +131,10 @@ GST_START_TEST (test_qtdemux_input_gap)
offset += seg_1_sample_sizes[i];
pts += seg_1_sample_duration;
}
gst_object_unref (sinkpad);
gst_element_set_state (qtdemux, GST_STATE_NULL);
gst_object_unref (qtdemux);
}
GST_END_TEST;