mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
baseparse: remove duplicate code
These are already freed by gst_base_parse_clear_queues() https://bugzilla.gnome.org/show_bug.cgi?id=679768
This commit is contained in:
parent
c19809ef19
commit
187570aded
1 changed files with 0 additions and 10 deletions
|
@ -530,16 +530,6 @@ gst_base_parse_finalize (GObject * object)
|
|||
|
||||
g_object_unref (parse->priv->adapter);
|
||||
|
||||
if (parse->priv->cache) {
|
||||
gst_buffer_unref (parse->priv->cache);
|
||||
parse->priv->cache = NULL;
|
||||
}
|
||||
|
||||
g_list_foreach (parse->priv->pending_events, (GFunc) gst_mini_object_unref,
|
||||
NULL);
|
||||
g_list_free (parse->priv->pending_events);
|
||||
parse->priv->pending_events = NULL;
|
||||
|
||||
if (parse->priv->index) {
|
||||
gst_object_unref (parse->priv->index);
|
||||
parse->priv->index = NULL;
|
||||
|
|
Loading…
Reference in a new issue