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 866abc3ec26af11c7fb61224e9b84ce07ad678b4..77606cd3c78d037799c78c27c62fdc09d7f3e1ea 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;