mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
baseparse: Fix memory leak
Queued frames were not released after being pushed, this caused a leak of the GstBaseParseFrame structure. https://bugzilla.gnome.org/show_bug.cgi?id=727883
This commit is contained in:
parent
d5c2439f08
commit
f880742638
1 changed files with 1 additions and 0 deletions
|
@ -2125,6 +2125,7 @@ gst_base_parse_handle_and_push_frame (GstBaseParse * parse,
|
|||
|
||||
while ((queued_frame = g_queue_pop_head (&parse->priv->queued_frames))) {
|
||||
gst_base_parse_push_frame (parse, queued_frame);
|
||||
gst_base_parse_frame_free (queued_frame);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue