close #333784 unref the result of gst_pad_get_parent() by: Christophe Fergeau.
[platform/upstream/gstreamer.git] / gst / median / gstmedian.c
index 4327c00..3f09f08 100644 (file)
@@ -154,6 +154,8 @@ gst_median_link (GstPad * pad, const GstCaps * caps)
     filter->height = h;
   }
 
+  gst_object_unref (filter);
+
   return ret;
 }