codecs: h265decoder: Fix 3 ref array leaks in finalize.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1717>
This commit is contained in:
He Junyan 2020-10-23 21:21:05 +08:00 committed by GStreamer Merge Bot
parent 35ed7c7811
commit 4d296a07e4

View file

@ -183,6 +183,9 @@ gst_h265_decoder_finalize (GObject * object)
GstH265DecoderPrivate *priv = self->priv;
g_array_unref (priv->to_output);
g_array_unref (priv->ref_pic_list_tmp);
g_array_unref (priv->ref_pic_list0);
g_array_unref (priv->ref_pic_list1);
G_OBJECT_CLASS (parent_class)->finalize (object);
}