Skip to content

Commit

Permalink
gst: plug memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmanuelP committed Sep 4, 2024
1 parent 26d0ee3 commit 76c611f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gst/gstaravis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 76c611f

Please sign in to comment.