mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
gltransformation: fix shader memory leak
This commit is contained in:
parent
ab9eb432fb
commit
5c07218bd2
1 changed files with 2 additions and 0 deletions
|
@ -404,6 +404,8 @@ gst_gl_transformation_reset_gl (GstGLFilter * filter)
|
|||
gl->DeleteBuffers (1, &transformation->vertex_buffer);
|
||||
transformation->vertex_buffer = 0;
|
||||
}
|
||||
|
||||
gst_object_unref (transformation->shader);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue