From 41f478e97d1265f2c772145f09d2140bc589ff85 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Tue, 17 Oct 2023 14:56:34 -0400 Subject: [PATCH] v4l2codecs: h265: Fix entry_point_offsets array leak This array was being leaked. Part-of: --- subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codech265dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codech265dec.c b/subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codech265dec.c index b4a607bbdc..576f3904b4 100644 --- a/subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codech265dec.c +++ b/subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codech265dec.c @@ -1610,6 +1610,7 @@ gst_v4l2_codec_h265_dec_dispose (GObject * object) g_clear_object (&self->decoder); g_clear_pointer (&self->slice_params, g_array_unref); + g_clear_pointer (&self->entry_point_offsets, g_array_unref); G_OBJECT_CLASS (parent_class)->dispose (object); }