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:
f2814fa
)
aggregator: Don't leak flush-start events
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 23 Dec 2014 10:45:05 +0000
(11:45 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 2 Dec 2017 15:10:26 +0000
(15:10 +0000)
libs/gst/base/gstaggregator.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstaggregator.c
b/libs/gst/base/gstaggregator.c
index
7fbe821
..
47f60de
100644
(file)
--- a/
libs/gst/base/gstaggregator.c
+++ b/
libs/gst/base/gstaggregator.c
@@
-734,6
+734,8
@@
_flush_start (GstAggregator * self, GstAggregatorPad * aggpad, GstEvent * event)
GST_PAD_STREAM_LOCK (self->srcpad);
GST_LOG_OBJECT (self, "GOT STREAM_LOCK");
event = NULL;
+ } else {
+ gst_event_unref (event);
}
} else {
gst_event_unref (event);