framepositionner: fix caps leak
authorTim-Philipp Müller <tim@centricular.com>
Sun, 26 Oct 2014 20:31:26 +0000 (20:31 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 26 Oct 2014 20:31:26 +0000 (20:31 +0000)
ges/gstframepositionner.c

index fed4a94..0d43725 100644 (file)
@@ -115,6 +115,7 @@ gst_frame_positionner_update_properties (GstFramePositionner * pos)
 
   g_object_notify (G_OBJECT (pos), "width");
   g_object_notify (G_OBJECT (pos), "height");
+  gst_caps_unref (caps);
 }
 
 static void