mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
glmemory: remove uneeded unref
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
This commit is contained in:
parent
17d3a75583
commit
17084a4608
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue