From 76c611f3f72bcff7788c7b66680ce8b66511e2e6 Mon Sep 17 00:00:00 2001 From: Emmanuel Pacaud Date: Wed, 4 Sep 2024 16:09:38 +0200 Subject: [PATCH] gst: plug memory leak --- gst/gstaravis.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/gstaravis.c b/gst/gstaravis.c index 3292d46ab..d7ae05531 100644 --- a/gst/gstaravis.c +++ b/gst/gstaravis.c @@ -724,6 +724,7 @@ gst_aravis_finalize (GObject * object) all_caps = g_steal_pointer (&gst_aravis->all_caps); g_clear_pointer (&gst_aravis->camera_name, g_free); g_clear_pointer (&gst_aravis->features, g_free); + g_clear_pointer (&gst_aravis->trigger_source, g_free); GST_OBJECT_UNLOCK (gst_aravis); if (camera != NULL)