mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-04 23:30:05 +00:00
aja: Free various props during cleanup
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648>
This commit is contained in:
parent
2e96ed13de
commit
108cd906fa
2 changed files with 2 additions and 0 deletions
|
@ -453,6 +453,7 @@ void gst_aja_sink_finalize(GObject *object) {
|
|||
g_assert(self->device == NULL);
|
||||
g_assert(gst_vec_deque_get_length(self->queue) == 0);
|
||||
g_clear_pointer(&self->queue, gst_vec_deque_free);
|
||||
g_free(self->device_identifier);
|
||||
|
||||
g_mutex_clear(&self->queue_lock);
|
||||
g_cond_clear(&self->queue_cond);
|
||||
|
|
|
@ -582,6 +582,7 @@ void gst_aja_src_finalize(GObject *object) {
|
|||
g_assert(self->device == NULL);
|
||||
g_assert(gst_vec_deque_get_length(self->queue) == 0);
|
||||
g_clear_pointer(&self->queue, gst_vec_deque_free);
|
||||
g_free(self->device_identifier);
|
||||
|
||||
gst_clear_object(&self->clock);
|
||||
|
||||
|
|
Loading…
Reference in a new issue