From 8b30362783476ef1597fd11f46e4a5019ff337fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Wed, 27 Feb 2013 16:15:27 -0500 Subject: [PATCH] tests: Fix ref leak in dtmf test --- tests/check/elements/dtmf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/check/elements/dtmf.c b/tests/check/elements/dtmf.c index aeaf1b8dd0..6330a3d99b 100644 --- a/tests/check/elements/dtmf.c +++ b/tests/check/elements/dtmf.c @@ -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);