[MOVED FROM GST-P-FARSIGHT] Don't use g_queue_clear()

20080428221737-3e2dc-bb8e4748751c29e0857313a09f85067ab12c3fe4.gz
This commit is contained in:
Olivier Crete 2008-04-28 22:17:37 +00:00 committed by Edward Hervey
parent dbeab8d0b8
commit 095636bfd2

View file

@ -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);