From 6044583d32e0c32969e94199c45018d3d0aef8d3 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 20 Sep 2005 10:04:18 +0000 Subject: [PATCH] fix wrong unref in a test Original commit message from CVS: fix wrong unref in a test --- ChangeLog | 5 +++++ check/pipelines/simple_launch_lines.c | 2 +- common | 2 +- tests/check/pipelines/simple-launch-lines.c | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c6423ad555..d0191cb64c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-09-20 Thomas Vander Stichele + + * check/pipelines/simple_launch_lines.c: (run_pipeline): + fix wrong pop/unref + 2005-09-19 Torsten Schoenfeld Reviewed by: Tim-Philipp Müller diff --git a/check/pipelines/simple_launch_lines.c b/check/pipelines/simple_launch_lines.c index 19d91a33fb..fc8fdcfadd 100644 --- a/check/pipelines/simple_launch_lines.c +++ b/check/pipelines/simple_launch_lines.c @@ -66,7 +66,7 @@ run_pipeline (GstElement * pipe, const gchar * descr, /* always have to pop the message before getting back into poll */ if (message) { revent = GST_MESSAGE_TYPE (message); - gst_message_unref (gst_bus_pop (bus)); + gst_message_unref (message); } else { revent = GST_MESSAGE_UNKNOWN; } diff --git a/common b/common index 13022c3cb4..cd4da6a319 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 13022c3cb4558d201e2ddf3e65d2e36b16eedc4a +Subproject commit cd4da6a319d9f92d28f7b8a3b412577e6de50b64 diff --git a/tests/check/pipelines/simple-launch-lines.c b/tests/check/pipelines/simple-launch-lines.c index 19d91a33fb..fc8fdcfadd 100644 --- a/tests/check/pipelines/simple-launch-lines.c +++ b/tests/check/pipelines/simple-launch-lines.c @@ -66,7 +66,7 @@ run_pipeline (GstElement * pipe, const gchar * descr, /* always have to pop the message before getting back into poll */ if (message) { revent = GST_MESSAGE_TYPE (message); - gst_message_unref (gst_bus_pop (bus)); + gst_message_unref (message); } else { revent = GST_MESSAGE_UNKNOWN; }