[gst-cvs] gst-plugins-base: tests: Unref the bus once we're done with it

Edward Hervey bilboed at kemper.freedesktop.org
Thu Apr 1 10:04:47 PDT 2010


Module: gst-plugins-base
Branch: master
Commit: e0c7452edf0b387ce22f71bce09ca5d0cb819e14
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=e0c7452edf0b387ce22f71bce09ca5d0cb819e14

Author: Edward Hervey <bilboed at bilboed.com>
Date:   Thu Apr  1 18:51:17 2010 +0200

tests: Unref the bus once we're done with it

---

 tests/check/pipelines/capsfilter-renegotiation.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/check/pipelines/capsfilter-renegotiation.c b/tests/check/pipelines/capsfilter-renegotiation.c
index 36974e7..f18a713 100644
--- a/tests/check/pipelines/capsfilter-renegotiation.c
+++ b/tests/check/pipelines/capsfilter-renegotiation.c
@@ -134,6 +134,7 @@ GST_START_TEST (test_capsfilter_renegotiation)
   if (current_caps)
     gst_caps_unref (current_caps);
   gst_message_unref (msg);
+  g_object_unref (bus);
   g_object_unref (G_OBJECT (pipeline));
 }
 





More information about the Gstreamer-commits mailing list