basetransform: plug caps leak
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 30 Mar 2012 14:53:00 +0000 (16:53 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 30 Mar 2012 14:53:00 +0000 (16:53 +0200)
libs/gst/base/gstbasetransform.c

index 0ca06d9..1b9aad9 100644 (file)
@@ -1086,6 +1086,7 @@ gst_base_transform_find_transform (GstBaseTransform * trans, GstPad * pad,
         gst_caps_unref (othercaps);
         othercaps = intersection;
       } else {
+        gst_caps_unref (othercaps);
         othercaps = peercaps;
       }