streamheader: Fix caps leak in the vorbisenc unit test
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 10 Aug 2009 13:40:33 +0000 (15:40 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 10 Aug 2009 13:40:33 +0000 (15:40 +0200)
tests/check/pipelines/streamheader.c

index 548fcfc..c3872ad 100644 (file)
@@ -156,6 +156,8 @@ buffer_probe_cb (GstPad * pad, GstBuffer * buffer)
     }
     fail_unless (found, "Did not find incoming IN_CAPS buffer %p on caps",
         buffer);
+
+    gst_caps_unref (caps);
   }
 
   return TRUE;