mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
track: don't leak restriction caps
This commit is contained in:
parent
d2e33a35e9
commit
8edb4a7ec6
1 changed files with 5 additions and 0 deletions
|
@ -448,6 +448,11 @@ ges_track_dispose (GObject * object)
|
|||
priv->caps = NULL;
|
||||
}
|
||||
|
||||
if (priv->restriction_caps) {
|
||||
gst_caps_unref (priv->restriction_caps);
|
||||
priv->restriction_caps = NULL;
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (ges_track_parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue