projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60e72b0
)
matroskademux: fix leaking buffer and caps
author
Matej Knopp
<matej.knopp@gmail.com>
Sat, 7 Sep 2013 14:37:03 +0000
(16:37 +0200)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sat, 7 Sep 2013 14:50:36 +0000
(15:50 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=707688
gst/matroska/matroska-read-common.c
patch
|
blob
|
history
diff --git
a/gst/matroska/matroska-read-common.c
b/gst/matroska/matroska-read-common.c
index
ffef578
..
bfbe02a
100644
(file)
--- a/
gst/matroska/matroska-read-common.c
+++ b/
gst/matroska/matroska-read-common.c
@@
-658,6
+658,9
@@
gst_matroska_read_common_parse_attached_file (GstMatroskaReadCommon * common,
tagsample = gst_sample_new (tagbuffer, caps, NULL, info);
+ gst_buffer_unref (tagbuffer);
+ gst_caps_unref (caps);
+
GST_DEBUG_OBJECT (common,
"Created attachment sample: %" GST_PTR_FORMAT, tagsample);