mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
glmemory: Fix transfer_pbo memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=744977
This commit is contained in:
parent
0ad168a258
commit
e10a2f8922
1 changed files with 2 additions and 0 deletions
|
@ -1090,6 +1090,8 @@ _destroy_gl_objects (GstGLContext * context, GstGLMemory * gl_mem)
|
||||||
|
|
||||||
if (gl_mem->pbo)
|
if (gl_mem->pbo)
|
||||||
gl->DeleteBuffers (1, &gl_mem->pbo);
|
gl->DeleteBuffers (1, &gl_mem->pbo);
|
||||||
|
if (gl_mem->transfer_pbo)
|
||||||
|
gl->DeleteBuffers (1, &gl_mem->transfer_pbo);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue