encodebin: Unref encoding profiles after usage in the test
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 14 Apr 2011 11:15:08 +0000 (13:15 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 14 Apr 2011 11:15:08 +0000 (13:15 +0200)
tests/check/elements/encodebin.c

index 866abc3..77606cd 100644 (file)
@@ -867,6 +867,8 @@ GST_START_TEST (test_encodebin_reuse)
   _test_encodebin_reuse (prof2, prof3);
 
   gst_encoding_profile_unref (prof1);
+  gst_encoding_profile_unref (prof2);
+  gst_encoding_profile_unref (prof3);
 };
 
 GST_END_TEST;