glupload: Fix memory leak in unit test
authorSebastian Dröge <sebastian@centricular.com>
Sun, 29 Jun 2014 19:57:32 +0000 (21:57 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:44 +0000 (19:31 +0000)
tests/check/libs/gstglupload.c

index 5c014a4..1960b1e 100644 (file)
@@ -338,6 +338,7 @@ GST_START_TEST (test_upload_meta_producer)
 
   gst_object_unref (upload_meta);
   gst_gl_context_del_texture (context, &tex_ids[0]);
+  gst_buffer_unref (buffer);
 }
 
 GST_END_TEST;