fix leak
authorThomas Vander Stichele <thomas@apestaart.org>
Mon, 3 Jul 2006 11:10:43 +0000 (11:10 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Mon, 3 Jul 2006 11:10:43 +0000 (11:10 +0000)
Original commit message from CVS:
fix leak

tests/check/gst/gstbin.c

index 5c2f993..968c596 100644 (file)
@@ -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;