streamheader: Fix caps leak in the vorbisenc unit test

This commit is contained in:
Sebastian Dröge 2009-08-10 15:40:33 +02:00
parent cc6e70e8ec
commit 11ad341d35

View 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;