alphacolor: plug structure leak
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 29 Mar 2012 15:21:43 +0000 (17:21 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 29 Mar 2012 15:21:43 +0000 (17:21 +0200)
gst/alpha/gstalphacolor.c

index 2438116..e7473e5 100644 (file)
@@ -126,7 +126,7 @@ gst_alpha_color_transform_caps (GstBaseTransform * btrans,
     gst_structure_remove_field (structure, "chroma-site");
 
     gst_structure_set_name (structure, "video/x-raw");
-    gst_caps_append_structure (local_caps, gst_structure_copy (structure));
+    gst_caps_append_structure (local_caps, structure);
   }
 
   /* Get the appropriate template */