aja: Free various props during cleanup

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8648>
This commit is contained in:
Doug Nazar 2025-03-14 22:01:44 -04:00 committed by GStreamer Marge Bot
parent 2e96ed13de
commit 108cd906fa
2 changed files with 2 additions and 0 deletions

View file

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

View file

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