summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2008-04-28 22:17:37 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-17 19:29:05 +0100
commit095636bfd242a655cce44e811f5974fda2d72bf5 (patch)
tree323800da428cc8cb567ff53bc07e568f2cf810fd /gst
parentdbeab8d0b810b31c09e961f7c4bb4fa09ec49181 (diff)
downloadgst-plugins-bad-095636bfd242a655cce44e811f5974fda2d72bf5.tar.gz
gst-plugins-bad-095636bfd242a655cce44e811f5974fda2d72bf5.tar.bz2
gst-plugins-bad-095636bfd242a655cce44e811f5974fda2d72bf5.zip
[MOVED FROM GST-P-FARSIGHT] Don't use g_queue_clear()
20080428221737-3e2dc-bb8e4748751c29e0857313a09f85067ab12c3fe4.gz
Diffstat (limited to 'gst')
-rw-r--r--gst/liveadder/liveadder.c2
1 files changed, 1 insertions, 1 deletions
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);