matroskaparse: don't leak stream headers
https://bugzilla.gnome.org/show_bug.cgi?id=664548
This commit is contained in:
parent
7df8122322
commit
80be58c4f5
@ -380,6 +380,11 @@ gst_matroska_parse_reset (GstElement * element)
|
|||||||
gst_buffer_unref (parse->common.cached_buffer);
|
gst_buffer_unref (parse->common.cached_buffer);
|
||||||
parse->common.cached_buffer = NULL;
|
parse->common.cached_buffer = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (parse->streamheader != NULL) {
|
||||||
|
gst_buffer_unref (parse->streamheader);
|
||||||
|
parse->streamheader = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user