From eb91fe7162c35d7298fb96fd15884ee38e886b15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 24 Feb 2011 20:59:48 +0100 Subject: [PATCH] encodebin: Fix double unref in unit test --- tests/check/elements/encodebin.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/check/elements/encodebin.c b/tests/check/elements/encodebin.c index a910cebd2b..3b5d66ad82 100644 --- a/tests/check/elements/encodebin.c +++ b/tests/check/elements/encodebin.c @@ -351,12 +351,10 @@ GST_START_TEST (test_encodebin_sink_pads_multiple_dynamic) /* Check if the audio sink pad was properly created */ sinkpadvorbis = gst_element_get_request_pad (ebin, "audio_0"); fail_unless (sinkpadvorbis != NULL); - gst_object_unref (sinkpadvorbis); /* Check if the video sink pad was properly created */ sinkpadtheora = gst_element_get_request_pad (ebin, "video_1"); fail_unless (sinkpadtheora != NULL); - gst_object_unref (sinkpadtheora); fail_unless_equals_int (gst_element_set_state (ebin, GST_STATE_PAUSED), GST_STATE_CHANGE_SUCCESS);