diff options
Diffstat (limited to 'gst/liveadder')
-rw-r--r-- | gst/liveadder/liveadder.c | 2 |
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); |