From 397e987c7d6fee1cbca7090c68fa874742b1a008 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Thu, 6 Sep 2012 17:05:00 +0200 Subject: [PATCH] tests: deinterlace: do not leak deinterlace pads --- tests/check/elements/deinterlace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/check/elements/deinterlace.c b/tests/check/elements/deinterlace.c index c25cbcc..cc5634d 100644 --- a/tests/check/elements/deinterlace.c +++ b/tests/check/elements/deinterlace.c @@ -263,6 +263,8 @@ deinterlace_check_passthrough (gint mode, const gchar * infiltercaps) fail_unless (gst_element_set_state (pipeline, GST_STATE_NULL) == GST_STATE_CHANGE_SUCCESS); gst_object_unref (pipeline); + gst_object_unref (sinkpad); + gst_object_unref (srcpad); g_queue_free (queue); } -- 2.7.4