Commit 80be58c4 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

matroskaparse: don't leak stream headers

https://bugzilla.gnome.org/show_bug.cgi?id=664548
parent 7df81223
......@@ -380,6 +380,11 @@ gst_matroska_parse_reset (GstElement * element)
gst_buffer_unref (parse->common.cached_buffer);
parse->common.cached_buffer = NULL;
}
if (parse->streamheader != NULL) {
gst_buffer_unref (parse->streamheader);
parse->streamheader = NULL;
}
}
static GstFlowReturn
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment