projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08c7042
)
nlesource: Don't leak pending seek event on dispose
author
Seungha Yang
<seungha.yang@navercorp.com>
Tue, 5 Feb 2019 08:29:00 +0000
(17:29 +0900)
committer
Thibault Saunier
<tsaunier@gnome.org>
Wed, 6 Mar 2019 13:31:01 +0000
(13:31 +0000)
plugins/nle/nlesource.c
patch
|
blob
|
history
diff --git
a/plugins/nle/nlesource.c
b/plugins/nle/nlesource.c
index 9c73b32822cd40448f597c828c1239508ef8d252..8671331466536642d1431f290cf857b0229f50f7 100644
(file)
--- a/
plugins/nle/nlesource.c
+++ b/
plugins/nle/nlesource.c
@@
-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);
}