From c2491a1e2da274bae5637417138a28a016383066 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 3 Jul 2006 11:10:43 +0000 Subject: [PATCH] fix leak Original commit message from CVS: fix leak --- tests/check/gst/gstbin.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/check/gst/gstbin.c b/tests/check/gst/gstbin.c index 5c2f993..968c596 100644 --- a/tests/check/gst/gstbin.c +++ b/tests/check/gst/gstbin.c @@ -480,6 +480,8 @@ GST_START_TEST (test_add_self) fail_unless (bin != NULL, "Could not create bin"); ASSERT_WARNING (gst_bin_add (GST_BIN (bin), bin)); + + gst_object_unref (bin); } GST_END_TEST; -- 2.7.4