tests: Fix ref leak in dtmf test

This commit is contained in:
Olivier Crête 2013-02-27 16:15:27 -05:00
parent 22f7e63254
commit 8b30362783

View file

@ -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);