From cd4c17031b8e7a10305fded3e415eb0005d0107c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 16 Apr 2014 19:03:47 +0200 Subject: [PATCH] videomixer: Fix memory leak in unit test --- tests/check/elements/videomixer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/check/elements/videomixer.c b/tests/check/elements/videomixer.c index 7296cb3eed..e428332aba 100644 --- a/tests/check/elements/videomixer.c +++ b/tests/check/elements/videomixer.c @@ -1019,6 +1019,8 @@ GST_START_TEST (test_flush_start_flush_stop) /* cleanup */ gst_element_set_state (pipeline, GST_STATE_NULL); + gst_object_unref (sinkpad1); + gst_object_unref (sinkpad2); gst_object_unref (pipeline); } -- 2.34.1