mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-02 01:41:07 +00:00
aggregator: Don't leak flush-start events
This commit is contained in:
parent
e7867a3586
commit
6771db209d
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_PAD_STREAM_LOCK (self->srcpad);
|
||||||
GST_LOG_OBJECT (self, "GOT STREAM_LOCK");
|
GST_LOG_OBJECT (self, "GOT STREAM_LOCK");
|
||||||
event = NULL;
|
event = NULL;
|
||||||
|
} else {
|
||||||
|
gst_event_unref (event);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
gst_event_unref (event);
|
gst_event_unref (event);
|
||||||
|
|
Loading…
Reference in a new issue