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:
eace37b
)
aggregator: plug a memory leak of the srccaps
author
Matthew Waters
<ystreet00@gmail.com>
Thu, 26 Jun 2014 00:53:16 +0000
(10:53 +1000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 2 Dec 2017 15:10:25 +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
5006ea5
..
3b64479
100644
(file)
--- a/
libs/gst/base/gstaggregator.c
+++ b/
libs/gst/base/gstaggregator.c
@@
-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;
}