mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
mxfdemux: fix taglist leak
Don't leak demuxer tag list.
This commit is contained in:
parent
023ab8da33
commit
dee6536421
1 changed files with 5 additions and 0 deletions
|
@ -225,6 +225,11 @@ gst_mxf_demux_reset_metadata (GstMXFDemux * demux)
|
|||
}
|
||||
demux->metadata = mxf_metadata_hash_table_new ();
|
||||
|
||||
if (demux->tags) {
|
||||
gst_tag_list_unref (demux->tags);
|
||||
demux->tags = NULL;
|
||||
}
|
||||
|
||||
g_rw_lock_writer_unlock (&demux->metadata_lock);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue