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:
5503937
)
glupload: Don't leak all memory uploaded via raw uploads.
author
Jan Schmidt
<jan@centricular.com>
Thu, 21 May 2015 14:27:36 +0000
(
00:27
+1000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:02 +0000
(19:32 +0000)
Remove an extra ref missed when switching over to not
reusing output textures
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
c4b9746
..
e5f1ff0
100644
(file)
--- a/
gst-libs/gst/gl/gstglupload.c
+++ b/
gst-libs/gst/gl/gstglupload.c
@@
-766,8
+766,7
@@
_raw_data_upload_perform (gpointer impl, GstBuffer * buffer,
*outbuf = gst_buffer_new ();
for (i = 0; i < GST_VIDEO_INFO_N_PLANES (&raw->upload->priv->in_info); i++) {
- gst_buffer_append_memory (*outbuf,
- gst_memory_ref ((GstMemory *) in_tex[i]));
+ gst_buffer_append_memory (*outbuf, (GstMemory *) in_tex[i]);
}
return GST_GL_UPLOAD_DONE;