gst/gstpadtemplate.c: The old behaviour was that gst_pad_template_new() takes ownersh...
authorStefan Kost <ensonic@users.sourceforge.net>
Thu, 28 Aug 2008 12:32:19 +0000 (12:32 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Thu, 28 Aug 2008 12:32:19 +0000 (12:32 +0000)
commit29f2239a8997dbb93688cec429910df13b8bc9fc
tree1251bb339f97cc4f863584aaaee978cd8511af6d
parent4eebee56fd112f163d63eb7073bb47038a84cfe1
gst/gstpadtemplate.c: The old behaviour was that gst_pad_template_new() takes ownership of the caps. As we now call g...

Original commit message from CVS:
* gst/gstpadtemplate.c:
The old behaviour was that gst_pad_template_new() takes ownership of
the caps. As we now call g_object_new() which calls g_object_set() and
which copies the caps, we have to unref them to not leak them. Fixes
make valgrid for me.
ChangeLog
gst/gstpadtemplate.c