mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
tests: Fix ref leak in dtmf test
This commit is contained in:
parent
47fccbe635
commit
0233eb9f79
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ check_buffers_duration (GstClockTime expected_duration)
|
||||||
|
|
||||||
fail_unless (GST_BUFFER_DURATION_IS_VALID (buf));
|
fail_unless (GST_BUFFER_DURATION_IS_VALID (buf));
|
||||||
duration += GST_BUFFER_DURATION (buf);
|
duration += GST_BUFFER_DURATION (buf);
|
||||||
|
gst_buffer_unref (buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
fail_unless (duration == expected_duration);
|
fail_unless (duration == expected_duration);
|
||||||
|
|
Loading…
Reference in a new issue