mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
aggregator: Don't leak flush-start events
This commit is contained in:
parent
f2814fa5e3
commit
9bac89113e
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue