mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
nlesource: Don't leak pending seek event on dispose
This commit is contained in:
parent
08c70424c2
commit
4c94de3c38
1 changed files with 5 additions and 0 deletions
|
@ -160,6 +160,11 @@ nle_source_dispose (GObject * object)
|
|||
priv->staticpad = NULL;
|
||||
}
|
||||
|
||||
if (priv->seek_event) {
|
||||
gst_event_unref (priv->seek_event);
|
||||
priv->seek_event = NULL;
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue