projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
023ab8d
)
mxfdemux: fix taglist leak
author
Tim-Philipp Müller
<tim@centricular.net>
Mon, 11 Feb 2013 20:24:14 +0000
(20:24 +0000)
committer
Tim-Philipp Müller
<tim@centricular.net>
Mon, 11 Feb 2013 20:24:14 +0000
(20:24 +0000)
Don't leak demuxer tag list.
gst/mxf/mxfdemux.c
patch
|
blob
|
history
diff --git
a/gst/mxf/mxfdemux.c
b/gst/mxf/mxfdemux.c
index 0a9bb64095c01040c8afc93c92637f1c67a20f96..c7abe8c067b2241364fa1d12471e6e7ab0942513 100644
(file)
--- a/
gst/mxf/mxfdemux.c
+++ b/
gst/mxf/mxfdemux.c
@@
-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);
}