gltransformation: fix shader memory leak

This commit is contained in:
Lubosz Sarnecki 2015-04-21 07:28:58 +02:00 committed by Matthew Waters
parent ab9eb432fb
commit 5c07218bd2

View file

@ -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