mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
[MOVED FROM GST-P-FARSIGHT] Don't use g_queue_clear()
20080428221737-3e2dc-bb8e4748751c29e0857313a09f85067ab12c3fe4.gz
This commit is contained in:
parent
dbeab8d0b8
commit
095636bfd2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue