mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
v4l2codecs: Fix memory leak
Free pending_requests array when releasing decoder to avoid memory leak Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2000>
This commit is contained in:
parent
9a364464f0
commit
98cb44ffc6
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ gst_v4l2_decoder_finalize (GObject * obj)
|
|||
g_free (self->media_device);
|
||||
g_free (self->video_device);
|
||||
gst_queue_array_free (self->request_pool);
|
||||
gst_queue_array_free (self->pending_requests);
|
||||
|
||||
G_OBJECT_CLASS (gst_v4l2_decoder_parent_class)->finalize (obj);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue