Original commit message from CVS:
Patch by: Bjarne Rosengren <bjarne at axis dot com>
* gst/matroska/ebml-write.c: (gst_ebml_write_element_push):
Don't leak buffers when we don't push them downstream.
Fixes bug #514965.
+2008-02-07 Sebastian Dröge <slomo@circular-chaos.org>
+
+ Patch by: Bjarne Rosengren <bjarne at axis dot com>
+
+ * gst/matroska/ebml-write.c: (gst_ebml_write_element_push):
+ Don't leak buffers when we don't push them downstream.
+ Fixes bug #514965.
+
2008-02-07 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac:
buf = gst_buffer_make_metadata_writable (buf);
gst_buffer_set_caps (buf, GST_PAD_CAPS (ebml->srcpad));
ebml->last_write_result = gst_pad_push (ebml->srcpad, buf);
+ } else {
+ if (buf != ebml->cache)
+ gst_buffer_unref (buf);
}
}