mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
templatematch: fix buffer leak in test
Need to call gst_check_drop_buffers() to unref the buffers exchanged during the test. https://bugzilla.gnome.org/show_bug.cgi?id=767159
This commit is contained in:
parent
0d6359d4a2
commit
9106bf573a
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ GST_START_TEST (test_match_blue_square)
|
|||
gst_bus_set_flushing (bus, TRUE);
|
||||
gst_object_unref (bus);
|
||||
gst_caps_unref (caps);
|
||||
gst_check_drop_buffers ();
|
||||
gst_pad_set_active (srcpad, FALSE);
|
||||
gst_pad_set_active (sinkpad, FALSE);
|
||||
gst_object_unref (srcpad);
|
||||
|
|
Loading…
Reference in a new issue