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:
Jose Antonio Santos Cadenas 2014-04-09 10:15:33 +02:00 committed by Sebastian Dröge
parent d5c2439f08
commit f880742638

View file

@ -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);
}
}