Commit c85ae43a authored by Sebastian Rasmussen's avatar Sebastian Rasmussen Committed by Thiago Santos

imagefreeze: Unref pad template caps after usage

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734475
parent edf87280
......@@ -192,6 +192,7 @@ gst_image_freeze_sink_setcaps (GstImageFreeze * self, GstCaps * caps)
GST_DEBUG_OBJECT (pad, "with: %" GST_PTR_FORMAT, othercaps);
GST_DEBUG_OBJECT (pad, "gave: %" GST_PTR_FORMAT, intersection);
gst_caps_unref (caps);
gst_caps_unref (othercaps);
caps = intersection;
intersection = othercaps = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment