mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +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);
|
gl->DeleteBuffers (1, &transformation->vertex_buffer);
|
||||||
transformation->vertex_buffer = 0;
|
transformation->vertex_buffer = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_object_unref (transformation->shader);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue