mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
tests: Fix ref leak in dtmf test
This commit is contained in:
parent
22f7e63254
commit
8b30362783
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));
|
||||
duration += GST_BUFFER_DURATION (buf);
|
||||
gst_buffer_unref (buf);
|
||||
}
|
||||
|
||||
fail_unless (duration == expected_duration);
|
||||
|
|
Loading…
Reference in a new issue