onnx: Fix leak in ssdobjectdetector decoder

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5884>
This commit is contained in:
Olivier Crête 2024-01-04 14:06:44 -05:00 committed by GStreamer Marge Bot
parent b85a9454e5
commit 06d477a89d

View file

@ -163,7 +163,9 @@ gst_ssd_object_detector_finalize (GObject * object)
{
GstSsdObjectDetector *self = GST_SSD_OBJECT_DETECTOR (object);
g_free (self->label_file);
delete GST_ODUTILS_MEMBER (self);
G_OBJECT_CLASS (gst_ssd_object_detector_parent_class)->finalize (object);
}