tests: fix leak in buffer test_wrapped_bytes test
authorTim-Philipp Müller <tim@centricular.com>
Wed, 6 Mar 2019 09:04:54 +0000 (09:04 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 6 Mar 2019 09:04:54 +0000 (09:04 +0000)
tests/check/gst/gstbuffer.c

index 449d262..99a6f9a 100644 (file)
@@ -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;