mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
queue2: small cleanup
This commit is contained in:
parent
695da33ef5
commit
04f1572ea2
1 changed files with 1 additions and 1 deletions
|
@ -1613,7 +1613,7 @@ gst_queue2_write_buffer_to_ring_buffer (GstQueue2 * queue, GstBuffer * buffer)
|
|||
if (range_to_destroy) {
|
||||
if (range_to_destroy == queue->ranges)
|
||||
queue->ranges = range;
|
||||
g_slice_free1 (sizeof (GstQueue2Range), range_to_destroy);
|
||||
g_slice_free (GstQueue2Range, range_to_destroy);
|
||||
range_to_destroy = NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue