projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f59948c
)
glupload: fix memory leak
author
Luis de Bethencourt
<luis@debethencourt.com>
Thu, 23 Jul 2015 09:57:26 +0000
(10:57 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:06 +0000
(19:32 +0000)
GstCapsFeatures need to be freed with gst_caps_features_free() after use.
CID #1312136, CID #1312136
gst-libs/gst/gl/gstglupload.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglupload.c
b/gst-libs/gst/gl/gstglupload.c
index
5f0f637
..
56052bb
100644
(file)
--- a/
gst-libs/gst/gl/gstglupload.c
+++ b/
gst-libs/gst/gl/gstglupload.c
@@
-185,6
+185,8
@@
_gl_memory_upload_accept (gpointer impl, GstBuffer * buffer, GstCaps * in_caps,
ret = FALSE;
gst_caps_features_free (gl_features);
+ gst_caps_features_free (gl_overlay_features);
+ gst_caps_features_free (system_memory_overlay_features);
if (!ret)
return FALSE;