From 5ea1601dd9b0054592df57cd51653e706e398f57 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Tue, 10 Jan 2012 13:24:22 +0000 Subject: [PATCH] interlace: fix ref leak --- gst/interlace/gstinterlace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/interlace/gstinterlace.c b/gst/interlace/gstinterlace.c index 1665ed7..4e224be 100644 --- a/gst/interlace/gstinterlace.c +++ b/gst/interlace/gstinterlace.c @@ -463,6 +463,8 @@ gst_interlace_getcaps (GstPad * pad) gst_caps_set_simple (icaps, "interlaced", G_TYPE_BOOLEAN, pad == interlace->srcpad ? TRUE : FALSE, NULL); + gst_object_unref (interlace); + return icaps; } -- 2.7.4