mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
aggregator: plug a memory leak of the srccaps
This commit is contained in:
parent
eace37b743
commit
19c8fcfa28
1 changed files with 1 additions and 0 deletions
|
@ -321,6 +321,7 @@ _push_mandatory_events (GstAggregator * self)
|
|||
gst_event_new_caps (self->priv->srccaps))) {
|
||||
GST_WARNING_OBJECT (self->srcpad, "Sending caps event failed");
|
||||
}
|
||||
gst_caps_unref (self->priv->srccaps);
|
||||
self->priv->srccaps = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue