From: Mark Nauwelaerts Date: Thu, 6 Sep 2012 15:05:00 +0000 (+0200) Subject: tests: deinterlace: do not leak deinterlace pads X-Git-Tag: 1.19.3~509^2~6725 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=397e987c7d6fee1cbca7090c68fa874742b1a008;p=platform%2Fupstream%2Fgstreamer.git tests: deinterlace: do not leak deinterlace pads --- 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); }