[farsight2/master] Don't leak pads in funnel
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:25:33 PST 2008
Thanks to Håvard Graff and Ole Andre for finding this leak
---
gst/funnel/fs-funnel.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/gst/funnel/fs-funnel.c b/gst/funnel/fs-funnel.c
index 03318ff..2083080 100644
--- a/gst/funnel/fs-funnel.c
+++ b/gst/funnel/fs-funnel.c
@@ -289,6 +289,7 @@ reset_pad (gpointer data, gpointer user_data)
GST_OBJECT_LOCK (pad);
gst_segment_init (&priv->segment, GST_FORMAT_UNDEFINED);
GST_OBJECT_UNLOCK (pad);
+ gst_object_unref (pad);
}
static GstStateChangeReturn
--
1.5.6.5
More information about the farsight-commits
mailing list