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:
17d3a75
)
glmemory: remove uneeded unref
author
Matthew Waters
<matthew@centricular.com>
Tue, 28 Apr 2015 10:46:52 +0000
(20:46 +1000)
committer
Matthew Waters
<matthew@centricular.com>
Tue, 28 Apr 2015 10:47:55 +0000
(20:47 +1000)
The call to _gl_mem_alloc_data will unref and NULLify 'dest' for us.
We just need to return.
https://bugzilla.gnome.org/show_bug.cgi?id=744246
gst-libs/gst/gl/gstglmemory.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglmemory.c
b/gst-libs/gst/gl/gstglmemory.c
index 0987e4986bf78bc88e54c5df978e5f3f4a7b4eb7..254e617313007da35fe9330de660127ac950e7b9 100644
(file)
--- a/
gst-libs/gst/gl/gstglmemory.c
+++ b/
gst-libs/gst/gl/gstglmemory.c
@@
-1069,7
+1069,6
@@
_gl_mem_copy (GstGLMemory * src, gssize offset, gssize size)
if (dest == NULL) {
GST_WARNING ("Could not copy GL Memory");
- gst_memory_unref ((GstMemory *) dest);
goto done;
}