mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
matroskaparse: don't leak stream headers
https://bugzilla.gnome.org/show_bug.cgi?id=664548
This commit is contained in:
parent
7df8122322
commit
80be58c4f5
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue