From dfd9fd7f82d0c480581f7659d8c3442be9fadb84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 6 Mar 2019 09:04:54 +0000 Subject: [PATCH] tests: fix leak in buffer test_wrapped_bytes test --- tests/check/gst/gstbuffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/check/gst/gstbuffer.c b/tests/check/gst/gstbuffer.c index 449d2623d1..99a6f9a5b9 100644 --- a/tests/check/gst/gstbuffer.c +++ b/tests/check/gst/gstbuffer.c @@ -918,6 +918,7 @@ GST_START_TEST (test_wrapped_bytes) fail_unless (GST_MEMORY_IS_READONLY (mem)); gst_buffer_unref (buf); + g_bytes_unref (bytes); } GST_END_TEST;