diff --git a/gst-libs/gst/gl/gstglmemory.c b/gst-libs/gst/gl/gstglmemory.c index 0987e4986b..254e617313 100644 --- 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; }