tests: glmatrix: fix leaks in unit test
authorTim-Philipp Müller <tim@centricular.com>
Wed, 6 Mar 2019 09:23:22 +0000 (09:23 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 6 Mar 2019 10:51:40 +0000 (10:51 +0000)
tests/check/libs/gstglmatrix.c

index 2fcdb3a..fe49b50 100644 (file)
@@ -333,6 +333,8 @@ GST_START_TEST (test_matrix_vertex_y_invert)
         "value %f at index %u does not match " "expected value %f", res[i], i,
         expected[i]);
   }
+
+  gst_buffer_unref (buffer);
 }
 
 GST_END_TEST;