mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
oggdemux: fix chain leak
Don't leak the building_chain when destroying. Fix leaks with the validate.http.playback.reverse_playback.vorbis_theora_1_ogg scenario. https://bugzilla.gnome.org/show_bug.cgi?id=748964
This commit is contained in:
parent
ea5d912b9f
commit
1c10b58cce
1 changed files with 3 additions and 0 deletions
|
@ -2272,6 +2272,9 @@ gst_ogg_demux_finalize (GObject * object)
|
||||||
|
|
||||||
gst_flow_combiner_free (ogg->flowcombiner);
|
gst_flow_combiner_free (ogg->flowcombiner);
|
||||||
|
|
||||||
|
if (ogg->building_chain)
|
||||||
|
gst_ogg_chain_free (ogg->building_chain);
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue