From 095636bfd242a655cce44e811f5974fda2d72bf5 Mon Sep 17 00:00:00 2001 From: Olivier Crete Date: Mon, 28 Apr 2008 22:17:37 +0000 Subject: [MOVED FROM GST-P-FARSIGHT] Don't use g_queue_clear() 20080428221737-3e2dc-bb8e4748751c29e0857313a09f85067ab12c3fe4.gz --- gst/liveadder/liveadder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst') diff --git a/gst/liveadder/liveadder.c b/gst/liveadder/liveadder.c index 441aaae5..4bb30b50 100644 --- a/gst/liveadder/liveadder.c +++ b/gst/liveadder/liveadder.c @@ -237,7 +237,7 @@ gst_live_adder_finalize (GObject * object) g_cond_free (adder->not_empty_cond); g_queue_foreach (adder->buffers, (GFunc) gst_mini_object_unref, NULL); - g_queue_clear (adder->buffers); + while (g_queue_pop_head (adder->buffers)) {} g_queue_free (adder->buffers); g_list_free (adder->sinkpads); -- cgit v1.2.1